forked from extern/egroupware
Fixed IE compatibility
This commit is contained in:
parent
7457315ea4
commit
b99c338511
@ -227,7 +227,7 @@ var et2_dataview_partitionSpacerNode = et2_dataview_partitionContainerNode.exten
|
||||
getAvgHeightData: function(_data) {
|
||||
// Do nothing here, as the spacers should not be inside the average
|
||||
// height statistic.
|
||||
},
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
|
@ -519,7 +519,7 @@ var et2_date_ro = et2_valueWidget.extend({
|
||||
'd': 'days',
|
||||
'H': 'hours',
|
||||
'i': 'minutes',
|
||||
's': 'seconds',
|
||||
's': 'seconds'
|
||||
};
|
||||
var unit2s = {
|
||||
'Y': 31536000,
|
||||
@ -527,7 +527,7 @@ var et2_date_ro = et2_valueWidget.extend({
|
||||
'd': 86400,
|
||||
'H': 3600,
|
||||
'i': 60,
|
||||
's': 1,
|
||||
's': 1
|
||||
};
|
||||
var d = new Date();
|
||||
var diff = Math.round(d.valueOf() / 1000) - Math.round(this.date.valueOf()/1000);
|
||||
|
@ -50,9 +50,9 @@ var et2_image = et2_baseWidget.extend({
|
||||
this.node = $j(document.createElement("a"));
|
||||
this.image.appendTo(this.node);
|
||||
}
|
||||
if(this.options.class)
|
||||
if(this.options["class"])
|
||||
{
|
||||
this.node.addClass(this.options.class);
|
||||
this.node.addClass(this.options["class"]);
|
||||
}
|
||||
this.setDOMNode(this.node[0]);
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user