search for: store_room

Displaying 1 result from an estimated 1 matches for "store_room".

2005 Oct 11
2
Pushing Javascript Helper to external file.
...o a single function in an external file. onmouseover would just call one function passing the event and the id as arguments. And I can do this, but I have to hardcode the call to new Ajax.Updater, so it looks something like this... tempvar = new Ajax.Updater(''notediv'', ''/store_room/get_note/'' + id, {asynchronous:true, evalScripts:true}); I just copied the result of remote_function. Anyhow, as you can probably tell this is going to cause a problem if my app is deployed to a subdirectory, say /inventory, then the Ajax.Updater should call ''/inventory/store_roo...