merge of '72951a15317b904c573f349f0cc5252a50749fd3'
and '7d5face94be8209296f29fb4baef4364387ee55a' Monotone-Parent: 72951a15317b904c573f349f0cc5252a50749fd3 Monotone-Parent: 7d5face94be8209296f29fb4baef4364387ee55a Monotone-Revision: ab4171905a7a07f18dc66a292c18cc539efaa4e0 Monotone-Author: flachapelle@inverse.ca Monotone-Date: 2011-08-12T20:40:50 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
commit
8d30fb1505
|
@ -1,3 +1,10 @@
|
|||
2011-08-12 Francis Lachapelle <flachapelle@inverse.ca>
|
||||
|
||||
* UI/WebServerResources/HTMLElement.js (refreshSelectionByIds):
|
||||
replaced the call to the Prototype method "down" in favor to a
|
||||
global access with the element ID. This fixes a multiple-message
|
||||
selection issue with IE.
|
||||
|
||||
2011-08-12 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||
|
||||
* SoObjects/Mailer/SOGoMailObject.m: (addFlags:, removeFlags:)
|
||||
|
|
|
@ -265,7 +265,8 @@ Element.addMethods({
|
|||
element = $(element);
|
||||
if (element.selectedIds) {
|
||||
for (var i = 0; i < element.selectedIds.length; i++) {
|
||||
var e = element.down('#'+element.selectedIds[i]);
|
||||
//var e = element.down('#'+element.selectedIds[i]); // buggy with IE
|
||||
var e = $(element.selectedIds[i]);
|
||||
if (e) {
|
||||
if (!e.hasClassName('_selected'))
|
||||
e.addClassName('_selected');
|
||||
|
@ -274,7 +275,6 @@ Element.addMethods({
|
|||
log ("refreshSelectionByIds Error: " + element.tagName
|
||||
+ " select by ID " + element.selectedIds[i]
|
||||
+ " not found (" + element.childNodes.length + " children)");
|
||||
//element.selectedIds.splice(i,1);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -38,7 +38,6 @@ var SOGoDataTableInterface = {
|
|||
* Handle selection based on rows ID.
|
||||
*/
|
||||
this.body.selectRange = function(startIndex, endIndex) {
|
||||
var element = $(this);
|
||||
var s;
|
||||
var e;
|
||||
var rows;
|
||||
|
|
Loading…
Reference in a new issue