function addClick() { var loc = 'scvrtsrv.html'; var code = 'location.assign("' + loc + '")'; eval(code); } Unable to open up the requested page so that one can add a virtual server to the Router. The Router used is a US Robotics 9105; and the site is the internal configuration pages; all the pages use the same consistant use of the javascript call; location.assign
location.assign appears to be an Internet Explorer extension, though it supported by Mozilla + family.
Created attachment 2878 [details] Implement location.assign This patch implements location.assign. It works the same as setting location to an explicit value.
Comment on attachment 2878 [details] Implement location.assign needs a layout test, but other than that looks great. r- until a test case is added.
Created attachment 2922 [details] Add test case
Comment on attachment 2922 [details] Add test case r=me
*** Bug 8959 has been marked as a duplicate of this bug. ***