Editor's bug in auto expand fixed

Admin UI enhancement - full setup save



git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@12390 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
nagoon97 2012-12-13 01:36:05 +00:00
parent bd01cd8e50
commit 06b41e6d10
3 changed files with 45 additions and 15 deletions

View file

@ -5083,7 +5083,10 @@ xe.XE_Editorresize = $.Class({
}
},
$ON_XE_EDITOR_RESIZE : function(){
this.inputArea.style.height = this.oIframe.style.height = this.oIframeBody[0].scrollHeight + 'px';
var t = this;
setTimeout(function(){
t.inputArea.style.height = t.oIframe.style.height = t.oIframeBody[0].scrollHeight + 'px';
}, 0);
}
});
//}