Change event handling for confirmation dialog

See #567
Before, when content was loaded dynamically, the confirmation was not poping.
Now, the confirmation pops by changing event handling.
pull/569/head
Alexis Degrugillier 10 years ago
parent a7632b5429
commit e08e8ee633
  1. 2
      p/scripts/main.js

@ -973,7 +973,7 @@ function init_persona() {
//</persona> //</persona>
function init_confirm_action() { function init_confirm_action() {
$('.confirm').click(function () { $('body').on('click', '.confirm', function () {
return confirm(str_confirmation); return confirm(str_confirmation);
}); });
} }

Loading…
Cancel
Save