Browse Source

Updates unbind() to on().

devel
Jonathan Rosenbaum 10 years ago
parent
commit
4bb22b2ea1
  1. 4
      js/transaction.js

4
js/transaction.js

@ -28,7 +28,7 @@ $(function() {
} }
}); });
if (remember_me == "unbind") { if (remember_me == "unbind") {
$('[href*="trans_id="]').unbind('click'); $('[href*="trans_id="]').on('click');
} }
else { else {
e.preventDefault(); e.preventDefault();
@ -48,7 +48,7 @@ $(function() {
} }
}); });
if (remember_me == "unbind") { if (remember_me == "unbind") {
$('#save_transaction').unbind('click'); $('#save_transaction').on('click');
} }
else { else {
e.preventDefault(); e.preventDefault();

Loading…
Cancel
Save