Skip to content

Commit

Permalink
dont overwrite onsubmit handler
Browse files Browse the repository at this point in the history
  • Loading branch information
sni committed Nov 2, 2012
1 parent eec949a commit 420ba60
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion root/thruk/javascript/all_in_one-1.55.js
Original file line number Diff line number Diff line change
Expand Up @@ -2905,7 +2905,7 @@ var ajax_search = {
while(tmpElem && tmpElem.parentNode) {
tmpElem = tmpElem.parentNode;
if(tmpElem.tagName == 'FORM') {
tmpElem.onsubmit = ajax_search.hide_results;
addEvent(tmpElem, 'submit', ajax_search.hide_results);
tmpElem.setAttribute("autocomplete", "off");
}
}
Expand Down
2 changes: 1 addition & 1 deletion root/thruk/javascript/thruk-1.55.js
Original file line number Diff line number Diff line change
Expand Up @@ -2902,7 +2902,7 @@ var ajax_search = {
while(tmpElem && tmpElem.parentNode) {
tmpElem = tmpElem.parentNode;
if(tmpElem.tagName == 'FORM') {
tmpElem.onsubmit = ajax_search.hide_results;
addEvent(tmpElem, 'submit', ajax_search.hide_results);
tmpElem.setAttribute("autocomplete", "off");
}
}
Expand Down

0 comments on commit 420ba60

Please sign in to comment.