diff options
| author | 2014-08-08 07:35:13 -0400 | |
|---|---|---|
| committer | 2014-08-08 07:35:13 -0400 | |
| commit | e08e8ee633fab138c18636d787b3515011acf160 (patch) | |
| tree | bedb9ac55038eb91b46465d026b1439fb596f013 /p/scripts | |
| parent | a7632b54293100d71a6eadfcb98746da05358ddb (diff) | |
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.
Diffstat (limited to 'p/scripts')
| -rw-r--r-- | p/scripts/main.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/p/scripts/main.js b/p/scripts/main.js index a82450e7f..a1628df85 100644 --- a/p/scripts/main.js +++ b/p/scripts/main.js @@ -973,7 +973,7 @@ function init_persona() { //</persona> function init_confirm_action() { - $('.confirm').click(function () { + $('body').on('click', '.confirm', function () { return confirm(str_confirmation); }); } |
