|
@@ -394,6 +394,15 @@ function setMailNewVisible(visible) {
|
|
$("#mailNew").hide()
|
|
$("#mailNew").hide()
|
|
$("#mailList").css({pointerEvents: "auto"})
|
|
$("#mailList").css({pointerEvents: "auto"})
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+ while (toEmailList.length > 0 && $("#toEmailList").children().length > 1) {
|
|
|
|
+ removeToEmail($("#toEmailList").children()[$("#toEmailList").children().length - 2].id, toEmailList[toEmailList.length - 1])
|
|
|
|
+ }
|
|
|
|
+ toEmailList = new Array()
|
|
|
|
+ $("#newMailEditor").val("")
|
|
|
|
+ $("#newMailSubject").val("")
|
|
|
|
+ $("#newMailTo").val("")
|
|
|
|
+ $("#toEmailField").val("")
|
|
}
|
|
}
|
|
|
|
|
|
function updateMailList(folder, page) {
|
|
function updateMailList(folder, page) {
|
|
@@ -511,4 +520,4 @@ window.onbeforeunload = function() {
|
|
notifierSocket.onclose = function () {}; // disable onclose handler first
|
|
notifierSocket.onclose = function () {}; // disable onclose handler first
|
|
notifierSocket.close();
|
|
notifierSocket.close();
|
|
}
|
|
}
|
|
-};
|
|
|
|
|
|
+};
|