diff options
author | portix <none@none> | 2012-07-19 01:46:34 +0200 |
---|---|---|
committer | portix <none@none> | 2012-07-19 01:46:34 +0200 |
commit | 37b4d8fbe386a779a75eff0c777cdc68dd8a46d4 (patch) | |
tree | e31a22f31bedba4e990f06b33ae8f4f2e109ce85 /extensions/formfiller | |
parent | 60a807dbc2421821f952d766006b45d411ce2062 (diff) | |
download | dwb-37b4d8fbe386a779a75eff0c777cdc68dd8a46d4.zip |
Unbind formfiller shortcuts in end()
Diffstat (limited to 'extensions/formfiller')
-rw-r--r-- | extensions/formfiller | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/extensions/formfiller b/extensions/formfiller index ad331230..3913bf8c 100644 --- a/extensions/formfiller +++ b/extensions/formfiller @@ -204,9 +204,8 @@ var injectFillForm = function (data) {//{{{ } if (form === null) { forms = document.forms; - for (i=0; i<forms.length; i++) { - if ((form = setValues(forms[i])) !== null) - break; + for (i=0; i<forms.length && form === null; i++) { + form = setValues(forms[i]); } } if (form !== null && data.autosubmit) @@ -372,8 +371,8 @@ return { return true; }, end : function () { - unbind(getForm); - unbind(fillForm); + unbind("formfillerGet"); + unbind("formfillerFill"); return true; } }//}}} |