mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-10-18 05:51:26 +02:00
fix: "resize" events defined in the "compose" page were not cleaned when going to other pages, this was causing javascript errors.
This commit is contained in:
@@ -14,6 +14,7 @@
|
||||
});
|
||||
|
||||
wm_updatelisting = function(resp) {
|
||||
window.removeEvents("resize");
|
||||
updatelisting(resp);
|
||||
if ($defined(resp.folders)) {
|
||||
$("folders").set("html", resp.folders);
|
||||
|
||||
Reference in New Issue
Block a user