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.
This commit is contained in:
kondou 2013-08-17 12:07:58 +02:00
parent 837cefd8a3
commit 2ee8425295
1 changed files with 0 additions and 4 deletions

View File

@ -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({