From 2ee8425295affcc5a5632d2f7ea17c66e539b3be Mon Sep 17 00:00:00 2001 From: kondou Date: Sat, 17 Aug 2013 12:07:58 +0200 Subject: [PATCH] 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. --- core/js/oc-dialogs.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/core/js/oc-dialogs.js b/core/js/oc-dialogs.js index f4bc174b5e..5cbc8359d5 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({