From b06a362464cdba56e6144f0296fd8551d6816071 Mon Sep 17 00:00:00 2001 From: Wolfgang Sourdeau Date: Tue, 2 Mar 2010 21:35:42 +0000 Subject: [PATCH] Monotone-Parent: 34c8ea3c9ac6c8104945c2403f6546cb9363b314 Monotone-Revision: 65d228dc16888e0f4d54d90ddab6934c650b6635 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2010-03-02T21:35:42 Monotone-Branch: ca.inverse.sogo --- UI/WebServerResources/UIxFilterEditor.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/UI/WebServerResources/UIxFilterEditor.js b/UI/WebServerResources/UIxFilterEditor.js index 65b7a65c3..3787d9e51 100644 --- a/UI/WebServerResources/UIxFilterEditor.js +++ b/UI/WebServerResources/UIxFilterEditor.js @@ -45,7 +45,8 @@ function loadMailboxes() { function onLoadMailboxesCallback(http) { if (http.readyState == 4) { - window.opener.userMailboxes = []; + window.opener.userMailboxes = $([]); + log("http.status: " + http.status); if (http.status == 200) { checkAjaxRequestsState(); if (http.responseText.length > 0) { @@ -102,7 +103,7 @@ function setupConstants() { } function setupEventHandlers() { - var filterName = $("mainForm").filterName; + var filterName = $($("mainForm").filterName); if (filterName) { var boundCB = onFilterNameChange .bindAsEventListener(filterName);