Skip to content
Snippets Groups Projects
Commit a7de0e96 authored by Christopher Schäpers's avatar Christopher Schäpers
Browse files

Merge pull request #4706 from owncloud/fix_filepicker_mimetype

Use provided mimetype on open. Fix #4696
parents 431cf06e 53a7f80a
No related branches found
No related tags found
No related merge requests found
......@@ -77,7 +77,7 @@ var OCdialogs = {
self.$filePicker = $tmpl.octemplate({
dialog_name: dialog_name,
title: title
}).data('path', '');
}).data('path', '').data('multiselect', multiselect).data('mimetype', mimetype_filter);
if (modal === undefined) {
modal = false;
......@@ -100,7 +100,7 @@ var OCdialogs = {
self._handlePickerClick(event, $(this));
});
self._fillFilePicker('');
}).data('multiselect', multiselect).data('mimetype',mimetype_filter);
});
// build buttons
var functionToCall = function() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment