Clean up button click handler on JS destroy

This commit is contained in:
Thomas Gelf 2014-03-07 23:39:06 +00:00
parent 713bd83aee
commit 269b93432d
1 changed files with 1 additions and 0 deletions

View File

@ -275,6 +275,7 @@
$(document).off('click', 'a', this.linkClicked);
$(document).off('click', 'tr[href]', this.linkClicked);
$(document).off('submit', 'form', this.submitForm);
$(document).off('click', 'button', this.submitForm);
$(document).off('change', 'form select.autosubmit', this.submitForm);
$(document).off('mouseenter', '.historycolorgrid td', this.historycolorgridHover);
$(document).off('mouseenter', '.historycolorgrid td', this.historycolorgidUnhover);