Permalink
Browse files

fixed IE bug that stopped the file browser from working

  • Loading branch information...
dbrewer committed Jan 11, 2011
1 parent 87321bc commit 4ac74826e48a3f159b5d012061cd847ef0e9fc50
Showing with 3 additions and 9 deletions.
  1. +3 −9 generators/ckeditor_install/templates/ckeditor/swfupload/fileprogress.js
@@ -115,15 +115,9 @@ var Button = new Class({
this.element.appendChild(table);
- this.element.addEvents({
- 'mouseover': function(){
- this.className = "TB_Button_Off_Over"
- },
- 'mouseout': function(){
- this.className = "TB_Button"
- },
- 'click': this.callback.bind(this)
- });
+ this.element.onclick = this.callback.bind(this);
+ this.element.onmouseover = function addButtonHover() { this.className = "TB_Button_Off_Over"; }
+ this.element.onmouseout = function removeButtonHover() { this.className = "TB_Button"; }
}
});

0 comments on commit 4ac7482

Please sign in to comment.