mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-28 01:29:05 +01:00
Prompt user for mail folder d-n-d action
This commit is contained in:
parent
748eb1ea2f
commit
a14e52753b
@ -3143,6 +3143,11 @@ app.classes.mail = AppJS.extend(
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
var ftree = this.et2.getWidgetById(this.nm_index+'[foldertree]');
|
var ftree = this.et2.getWidgetById(this.nm_index+'[foldertree]');
|
||||||
|
|
||||||
|
var callback = function (_button)
|
||||||
|
{
|
||||||
|
if (_button == et2_dialog.YES_BUTTON)
|
||||||
|
{
|
||||||
egw.message (egw.lang('Folder %1 is moving to folder %2',_senders[0].id, destination.id));
|
egw.message (egw.lang('Folder %1 is moving to folder %2',_senders[0].id, destination.id));
|
||||||
egw.loading_prompt('mail_moveFolder', true,'','#egw_fw_basecontainer');
|
egw.loading_prompt('mail_moveFolder', true,'','#egw_fw_basecontainer');
|
||||||
for(var i = 0; i < _senders.length; i++)
|
for(var i = 0; i < _senders.length; i++)
|
||||||
@ -3157,6 +3162,10 @@ app.classes.mail = AppJS.extend(
|
|||||||
}
|
}
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
};
|
||||||
|
et2_dialog.show_dialog(callback, egw.lang('Are you sure you want to move folder %1 to folder %2?',
|
||||||
|
_senders[0].id, destination.id), 'Move folder', {},et2_dialog.BUTTONS_YES_NO, et2_dialog.WARNING_MESSAGE);
|
||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user