diff --git a/filemanager/js/app.js b/filemanager/js/app.js index 7200e5c52d..495cc27a81 100644 --- a/filemanager/js/app.js +++ b/filemanager/js/app.js @@ -212,7 +212,6 @@ app.filemanager = AppJS.extend( { et2_createWidget("dialog",{ callback: function(button_id, value) { - alert('button='+button_id+', value='+JSON.serialize(value)); if (button_id == "overwrite") { value.data.confirmed = true; @@ -229,12 +228,12 @@ app.filemanager = AppJS.extend( ].reverse(), title: egw.lang('File already exists', _data.uploaded[file].name), //template:"/egroupware/addressbook/templates/default/edit.xet", - value: { content: { + value: { name: _data.uploaded[file].name, file: file, data: _data.uploaded[file], path: _data.path - }, sel_options: {}}, + }, message: egw.lang('Do you want to overwrite existing file %1 in directory %2?', _data.uploaded[file].name, _data.path), dialog_type: et2_dialog.QUESTION_MESSAGE }); @@ -587,4 +586,4 @@ app.filemanager = AppJS.extend( } } } -}); \ No newline at end of file +});