MDL-31901 fixed forgotten overwrite dialogue in filepicker
This commit is contained in:
@@ -1082,6 +1082,10 @@ M.core_filepicker.init = function(Y, options) {
|
||||
},
|
||||
callback: function(id, obj, args) {
|
||||
selectnode.removeClass('loading');
|
||||
if (obj.event == 'fileexists') {
|
||||
scope.process_existing_file(obj);
|
||||
return;
|
||||
}
|
||||
if (scope.options.editor_target && scope.options.env=='editor') {
|
||||
scope.options.editor_target.value=obj.url;
|
||||
scope.options.editor_target.onchange();
|
||||
|
||||
Reference in New Issue
Block a user