forked from extern/egroupware
Switch phrase to one already translated, make confirmation dialog a little wider
This commit is contained in:
parent
f453c5b056
commit
3fed690b9e
@ -843,8 +843,8 @@ var et2_vfsUpload = (function(){ "use strict"; return et2_file.extend(
|
|||||||
// We don't use ui-icon because it assigns a bg image
|
// We don't use ui-icon because it assigns a bg image
|
||||||
.addClass("delete icon")
|
.addClass("delete icon")
|
||||||
.bind( 'click', function() {
|
.bind( 'click', function() {
|
||||||
et2_dialog.show_dialog(
|
et2_createWidget("dialog", {
|
||||||
function(button) {
|
callback: function(button) {
|
||||||
if(button == et2_dialog.YES_BUTTON)
|
if(button == et2_dialog.YES_BUTTON)
|
||||||
{
|
{
|
||||||
egw.json("filemanager_ui::ajax_action", [
|
egw.json("filemanager_ui::ajax_action", [
|
||||||
@ -861,8 +861,12 @@ var et2_vfsUpload = (function(){ "use strict"; return et2_file.extend(
|
|||||||
).sendRequest();
|
).sendRequest();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
egw.lang('Delete file?')
|
message: self.egw().lang('Delete file')+'?',
|
||||||
);
|
title: self.egw().lang('Confirmation required'),
|
||||||
|
buttons: et2_dialog.BUTTONS_YES_NO,
|
||||||
|
dialog_type: et2_dialog.QUESTION_MESSAGE,
|
||||||
|
width: 250
|
||||||
|
}, self);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user