mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-30 07:35:39 +00:00
See Changelog.
Monotone-Parent: 61d77b3172c7a72376f9b867ab6d96136e763698 Monotone-Revision: c08e4921f6ce7d20b4c9532750d271ac4a7a3e5a Monotone-Author: flachapelle@inverse.ca Monotone-Date: 2010-08-19T21:26:31 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -2044,13 +2044,17 @@ function onMenuRenameFolderConfirm() {
|
||||
}
|
||||
|
||||
function onMenuDeleteFolder(event) {
|
||||
var answer = window.confirm(_("Do you really want to move this folder into the trash ?"));
|
||||
if (answer) {
|
||||
var folderID = document.menuTarget.getAttribute("dataname");
|
||||
var urlstr = URLForFolderID(folderID) + "/delete";
|
||||
var errorLabel = _("The folder could not be deleted.");
|
||||
triggerAjaxRequest(urlstr, folderOperationCallback, errorLabel);
|
||||
}
|
||||
showConfirmDialog(_("Confirmation"),
|
||||
_("Do you really want to move this folder into the trash ?"),
|
||||
onMenuDeleteFolderConfirm);
|
||||
}
|
||||
|
||||
function onMenuDeleteFolderConfirm() {
|
||||
var folderID = document.menuTarget.getAttribute("dataname");
|
||||
var urlstr = URLForFolderID(folderID) + "/delete";
|
||||
var errorLabel = _("The folder could not be deleted.");
|
||||
triggerAjaxRequest(urlstr, folderOperationCallback, errorLabel);
|
||||
disposeDialog();
|
||||
}
|
||||
|
||||
function onMenuExpungeFolder(event) {
|
||||
|
||||
Reference in New Issue
Block a user