summaryrefslogtreecommitdiffstats
path: root/core/js/oc-dialogs.js
diff options
context:
space:
mode:
authorkondou <kondou@ts.unde.re>2014-03-01 02:46:27 +0100
committerkondou <kondou@ts.unde.re>2014-06-02 21:09:41 +0200
commit9bc3f3cf304c300c758743f2e460beb1fee3ecac (patch)
treeea564110fcd3a28caee27af3bf36486d1783cc3e /core/js/oc-dialogs.js
parentc88c0b9a13231478c626296d78aac7c1f66d87d9 (diff)
downloadnextcloud-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.js18
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