diff --git a/ChangeLog b/ChangeLog index b9e97fd42..6d8378e87 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2011-03-11 Francis Lachapelle + + * UI/WebServerResources/ContactsUI.js (initContacts): don't define + the categories contextual menu if the contacts list doesn't + exist. This fixes a problem when adding categories to a contact + using IE7. + 2011-03-10 Francis Lachapelle * SoObjects/Appointments/SOGoAppointmentFolder.m (-fixupRecord): diff --git a/UI/WebServerResources/ContactsUI.js b/UI/WebServerResources/ContactsUI.js index 5a71bb9ff..e7b0de6b3 100644 --- a/UI/WebServerResources/ContactsUI.js +++ b/UI/WebServerResources/ContactsUI.js @@ -1258,6 +1258,8 @@ function initContacts(event) { table.observe("mousedown", onContactSelectionChange); configureSortableTableHeaders(table); TableKit.Resizable.init(table, {'trueResize' : true, 'keepWidth' : true}); + + resetCategoriesMenu(); } onWindowResize.defer(); @@ -1266,8 +1268,6 @@ function initContacts(event) { // Default sort options sorting["attribute"] = "c_cn"; sorting["ascending"] = true; - - resetCategoriesMenu(); } function resetCategoriesMenu() {