diff options
author | kondou <kondou@ts.unde.re> | 2014-03-01 02:46:27 +0100 |
---|---|---|
committer | kondou <kondou@ts.unde.re> | 2014-06-02 21:09:41 +0200 |
commit | 9bc3f3cf304c300c758743f2e460beb1fee3ecac (patch) | |
tree | ea564110fcd3a28caee27af3bf36486d1783cc3e /core/js/oc-dialogs.js | |
parent | c88c0b9a13231478c626296d78aac7c1f66d87d9 (diff) | |
download | nextcloud-server-9bc3f3cf304c300c758743f2e460beb1fee3ecac.tar.gz nextcloud-server-9bc3f3cf304c300c758743f2e460beb1fee3ecac.zip |
Scrutinizer cleanup
Diffstat (limited to 'core/js/oc-dialogs.js')
-rw-r--r-- | core/js/oc-dialogs.js | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/core/js/oc-dialogs.js b/core/js/oc-dialogs.js index 54b9442af27..0e4c346e8cc 100644 --- a/core/js/oc-dialogs.js +++ b/core/js/oc-dialogs.js @@ -38,7 +38,14 @@ var OCdialogs = { * @param modal make the dialog modal */ alert:function(text, title, callback, modal) { - this.message(text, title, 'alert', OCdialogs.OK_BUTTON, callback, modal); + this.message( + text, + title, + 'alert', + OCdialogs.OK_BUTTON, + callback, + modal + ); }, /** * displays info dialog @@ -59,7 +66,14 @@ var OCdialogs = { * @param modal make the dialog modal */ confirm:function(text, title, callback, modal) { - this.message(text, title, 'notice', OCdialogs.YES_NO_BUTTONS, callback, modal); + this.message( + text, + title, + 'notice', + OCdialogs.YES_NO_BUTTONS, + callback, + modal + ); }, /** * displays prompt dialog |