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:
Francis Lachapelle
2010-08-19 21:26:31 +00:00
parent 8698cb57c0
commit e947440953
5 changed files with 57 additions and 71 deletions
+11 -7
View File
@@ -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) {