Special XML conversion code for Firefox >= 20.0
[infodrom/rico3] / minsrc / ricoLiveGridControls.js
index 4ada8ee..9dd0da8 100644 (file)
@@ -50,7 +50,7 @@ Rico.TableColumn.checkboxKey.prototype = {
   },
 
   _onclick: function(e) {
-    var elem=Event.element(e);
+    var elem=Rico.eventElement(e);
     var windowRow=parseInt(elem.id.substr((elem.id.lastIndexOf('_',elem.id.length)+1)));  //faster than split
     var v=this.getValue(windowRow);
     if (elem.checked)
@@ -115,7 +115,7 @@ Rico.TableColumn.checkbox.prototype = {
   },
 
   _onclick: function(e) {
-    var elem=Event.element(e);
+    var elem=Rico.eventElement(e);
     var windowRow=parseInt(elem.id.substr((elem.id.lastIndexOf('_',elem.id.length)+1)));  //faster than split
     var newval=elem.checked ? this._checkedValue : this._uncheckedValue;
     this.setValue(windowRow,newval);
@@ -244,7 +244,7 @@ Rico.TableColumn.link.prototype = {
     if (href && desc) {
       this._anchors[windowRow].href=href;
       this._anchors[windowRow].innerHTML=desc;
-      this._anchors[windowRow].style.display='';
+      this._anchors[windowRow].style.display=Rico.isIE ? 'inline-block' : '';
     } else {
       this._clear(gridCell,windowRow);
     }