NakedObjects-Ajax.js Line 815
var homepath = $("div#header > a").attr("href");
Would it be possible for you guys to remove the dependency on the home link? I have run into this before when rearranging the master page or layout.
It should be maintained somewhere in JS state perhaps, but not depend on the home link.
For some more detail, if interested:
It gives the below error because the above line does not find the link as the jQuery selector no longer matches the DOM.
Error message: uncaught exception: [Exception... "Component returned failure code: 0x804b000a (NS_ERROR_MALFORMED_URI) [nsIDOMLocation.href]" nsresult: "0x804b000a (NS_ERROR_MALFORMED_URI)" location: "JS frame :: http://localhost:2196/Scripts/NakedObjects-Ajax.js
:: <TOP_LEVEL> :: line 819" data: no]
Line Number: 0
I just add a second "display: none" home link at the right place in the DOM to work around it for now.