Monotone-Parent: 652a580846111dfcf9de40e4ccfcded593cf6f0d
Monotone-Revision: 1536274d3589c2ef3b066916a255c4223babf175 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2009-09-18T13:36:40 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
parent
fd2185a463
commit
07116c9df9
10
ChangeLog
10
ChangeLog
|
@ -1,3 +1,13 @@
|
||||||
|
2009-09-18 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||||
|
|
||||||
|
* UI/WebServerResources/generic.js (onLoadHandler): don't trigger
|
||||||
|
the alarm refresh if the "calendarBannerLink" link is not
|
||||||
|
available (when calendar is disabled).
|
||||||
|
|
||||||
|
* UI/WebServerResources/UIxPreferences.js (initPreferences)
|
||||||
|
(savePreferences): don't bother with the categoriesList if it's
|
||||||
|
not accessible (when calendar is disabled).
|
||||||
|
|
||||||
2009-09-17 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
2009-09-17 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||||
|
|
||||||
* Tests/test-config.py: new functional test to validate the test
|
* Tests/test-config.py: new functional test to validate the test
|
||||||
|
|
|
@ -5,7 +5,9 @@ function savePreferences(sender) {
|
||||||
if (sigList)
|
if (sigList)
|
||||||
sigList.disabled=false;
|
sigList.disabled=false;
|
||||||
|
|
||||||
serializeCategories (null);
|
if ($("categoriesList")) {
|
||||||
|
serializeCategories(null);
|
||||||
|
}
|
||||||
|
|
||||||
$("mainForm").submit();
|
$("mainForm").submit();
|
||||||
|
|
||||||
|
@ -47,8 +49,9 @@ function initPreferences() {
|
||||||
onComposeMessagesTypeChange ();
|
onComposeMessagesTypeChange ();
|
||||||
}
|
}
|
||||||
|
|
||||||
resetCategoriesColors (null);
|
|
||||||
var table = $("categoriesList");
|
var table = $("categoriesList");
|
||||||
|
if (table) {
|
||||||
|
resetCategoriesColors (null);
|
||||||
var r = $$("TABLE#categoriesList tbody tr");
|
var r = $$("TABLE#categoriesList tbody tr");
|
||||||
for (var i=0; i<r.length; i++)
|
for (var i=0; i<r.length; i++)
|
||||||
r[i].identify ();
|
r[i].identify ();
|
||||||
|
@ -56,6 +59,7 @@ function initPreferences() {
|
||||||
resetTableActions ();
|
resetTableActions ();
|
||||||
$("categoryAdd").observe ("click", onCategoryAdd);
|
$("categoryAdd").observe ("click", onCategoryAdd);
|
||||||
$("categoryDelete").observe ("click", onCategoryDelete);
|
$("categoryDelete").observe ("click", onCategoryDelete);
|
||||||
|
}
|
||||||
|
|
||||||
// Disable placement (after) if composing in HTML
|
// Disable placement (after) if composing in HTML
|
||||||
if ($("composeMessagesType")) {
|
if ($("composeMessagesType")) {
|
||||||
|
@ -204,7 +208,6 @@ function serializeCategories (e) {
|
||||||
$("categoriesValue").value = "(" + names + ", " + colors + ")";
|
$("categoriesValue").value = "(" + names + ", " + colors + ")";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
function resetCategoriesColors (e) {
|
function resetCategoriesColors (e) {
|
||||||
var divs = $$("TABLE#categoriesList DIV.colorBox");
|
var divs = $$("TABLE#categoriesList DIV.colorBox");
|
||||||
|
|
||||||
|
|
|
@ -1482,8 +1482,10 @@ function onLoadHandler(event) {
|
||||||
queryParameters = parseQueryParameters('' + window.location);
|
queryParameters = parseQueryParameters('' + window.location);
|
||||||
if (!$(document.body).hasClassName("popup")) {
|
if (!$(document.body).hasClassName("popup")) {
|
||||||
initLogConsole();
|
initLogConsole();
|
||||||
|
if ($("calendarBannerLink")) {
|
||||||
refreshAlarms();
|
refreshAlarms();
|
||||||
}
|
}
|
||||||
|
}
|
||||||
initCriteria();
|
initCriteria();
|
||||||
configureSearchField();
|
configureSearchField();
|
||||||
initMenus();
|
initMenus();
|
||||||
|
|
Loading…
Reference in a new issue