diff options
author | kondou <kondou@ts.unde.re> | 2013-08-17 12:07:58 +0200 |
---|---|---|
committer | kondou <kondou@ts.unde.re> | 2013-08-17 12:07:58 +0200 |
commit | 2ee8425295affcc5a5632d2f7ea17c66e539b3be (patch) | |
tree | 76ebbff5516f6c65c54a0638bec3d36492e1c542 /core/js/oc-dialogs.js | |
parent | 837cefd8a3a7540b37afb42312f1397baa70c3ac (diff) | |
download | nextcloud-server-2ee8425295affcc5a5632d2f7ea17c66e539b3be.tar.gz nextcloud-server-2ee8425295affcc5a5632d2f7ea17c66e539b3be.zip |
Remove cancel button from filepicker
Having the cancel button in the bottom right corner was a bit confusing.
It's useless anyways, since there's a X in the top right.
Diffstat (limited to 'core/js/oc-dialogs.js')
-rw-r--r-- | core/js/oc-dialogs.js | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/core/js/oc-dialogs.js b/core/js/oc-dialogs.js index f4bc174b5eb..5cbc8359d52 100644 --- a/core/js/oc-dialogs.js +++ b/core/js/oc-dialogs.js @@ -117,10 +117,6 @@ var OCdialogs = { text: t('core', 'Choose'), click: functionToCall, defaultButton: true - }, - { - text: t('core', 'Cancel'), - click: function(){self.$filePicker.ocdialog('close'); } }]; self.$filePicker.ocdialog({ |