This project is archived and is in readonly mode.
prototype-ujs: change function scope
-
Justin Baker
+1
I needed to put handleRemote to in the global scope to let me submit a form remotely when a checkbox is checked.
Should it be something like Prototype.Rails.* ? -
Justin Baker
Here's a patch, handlers are now copied to global scope, so you can call Prototype.Rails.handleRemote, Prototype.Rails.handleMethod
