See ChangeLog

Monotone-Parent: 1d005598b6a98199ba33f18c340b246e96ac31fb
Monotone-Revision: 7f589cf6f37c6446854442c0ea339db06c9dfc8d

Monotone-Author: flachapelle@inverse.ca
Monotone-Date: 2009-10-30T19:47:44
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Francis Lachapelle
2009-10-30 19:47:44 +00:00
parent e541366b08
commit 23bcd39d99
2 changed files with 9 additions and 4 deletions

View File

@@ -1,5 +1,9 @@
2009-10-30 Francis Lachapelle <flachapelle@inverse.ca>
* UI/WebServerResources/SchedulerUI.js: the events list is now
refreshed in the AJAX callback. This avoid seeing an empty table
while refreshing the events list.
* UI/WebServerResources/UIxPreferences.js
(addDefaultEmailAddresses): fixed issue in vacation tab when
adding the defaults values to a empty list.

View File

@@ -581,6 +581,11 @@ function eventsListCallback(http) {
var table = $("eventsList");
lastClickedRow = -1; // from generic.js
var rows = table.select("TBODY TR");
rows.each(function(e) {
e.remove();
});
if (http.responseText.length > 0) {
var data = http.responseText.evalJSON(true);
for (var i = 0; i < data.length; i++) {
@@ -1323,10 +1328,6 @@ function _loadEventHref(href) {
document.eventsListAjaxRequest
= triggerAjaxRequest(url, eventsListCallback, href);
var table = $("eventsList").tBodies[0];
while (table.rows.length > 0)
table.removeChild(table.rows[0]);
return false;
}