diff options
author | Bartek Przybylski <bart.p.pl@gmail.com> | 2012-04-01 00:30:52 +0200 |
---|---|---|
committer | Bartek Przybylski <bart.p.pl@gmail.com> | 2012-04-01 00:30:52 +0200 |
commit | 4e327295c65b25fc5d6ceec5a8242eecf57b94e2 (patch) | |
tree | df1b5fe592ab6860e1d15d8a88618cf2d2601998 /core/js | |
parent | 2f68b084919437013cc6d977c0f077e541cf83f9 (diff) | |
download | nextcloud-server-4e327295c65b25fc5d6ceec5a8242eecf57b94e2.tar.gz nextcloud-server-4e327295c65b25fc5d6ceec5a8242eecf57b94e2.zip |
adding callback when ok click on alert dialog
Diffstat (limited to 'core/js')
-rw-r--r-- | core/js/oc-dialogs.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/js/oc-dialogs.js b/core/js/oc-dialogs.js index 35d0a0c5c42..17c987ae872 100644 --- a/core/js/oc-dialogs.js +++ b/core/js/oc-dialogs.js @@ -115,7 +115,7 @@ OCdialogs = { var f; switch(dialog_type) { case OCdialogs.ALERT_DIALOG: - f = function(){$(c_id).dialog('close'); }; + f = function(){$(c_id).dialog('close'); callback();}; break; case OCdialogs.PROMPT_DIALOG: f = function(){OCdialogs.prompt_ok_handler(callback, c_id)}; |