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:
parent
837cefd8a3
commit
2ee8425295
|
@ -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({
|
||||
|
|
Loading…
Reference in New Issue