See Changelog

Monotone-Parent: 19bd38381f65942b0903a2e2aaa8abbc9c9862ab
Monotone-Revision: 6c9151f261ad9f73f6614808f73d4ca224c2cb8e

Monotone-Author: flachapelle@inverse.ca
Monotone-Date: 2010-11-08T18:47:11
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Francis Lachapelle 2010-11-08 18:47:11 +00:00
parent 861a90b970
commit b28a1bee6e
4 changed files with 32 additions and 20 deletions

View file

@ -12,6 +12,13 @@
* UI/WebServerResources/SOGoDragHandles.js (adjust): for vertical
drag handles, prioritize the top limit rather than the bottom one.
* UI/WebServerResources/UIxContactEditor.js (onComboButtonClick):
return false so the form is not submitted when the button is clicked.
* UI/WebServerResources/ContactsUI.js
(onCategoriesMenuPrepareVisibility): don't verify the selection if
the list doesn't exist (happens in the contact editor).
2010-11-05 Francis Lachapelle <flachapelle@inverse.ca>
* UI/MailerUI/UIxMailListActions.m (-getSortedUIDsAction): now

View file

@ -8,6 +8,7 @@
xmlns:label="OGo:label"
className="UIxPageFrame"
title="name"
const:userDefaultsKeys="SOGoContactsCategories"
const:popup="YES"
>
<div class="menu" id="categoriesMenu">

View file

@ -1302,9 +1302,11 @@ function resetCategoriesMenu() {
}
function onCategoriesMenuPrepareVisibility() {
var contactsList = $("contactsList");
if (contactsList) {
var rows = contactsList.getSelectedRows();
if (rows.length > 0) {
var catList = rows[0].getAttribute("categories");
var catList = rows[0].getAttribute("categories"); log ("cats = " + catList);
var catsArray;
if (catList && catList.length > 0) {
catsArray = catList.split(",");
@ -1327,6 +1329,8 @@ function onCategoriesMenuPrepareVisibility() {
}
}
}
return true;
}
function onCategoriesMenuItemClick() {
var set = !this.hasClassName("_chosen");

View file

@ -213,7 +213,7 @@ function onComboButtonClick(event) {
"left": menuLeft + "px",
"width": width + "px" });
event.preventDefault();
return false;
}
function onCategoryInputChange(event) {