diff options
Diffstat (limited to 'swat/style/qooxdoo/widgets/widgets/QxContainer.js')
-rw-r--r-- | swat/style/qooxdoo/widgets/widgets/QxContainer.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/swat/style/qooxdoo/widgets/widgets/QxContainer.js b/swat/style/qooxdoo/widgets/widgets/QxContainer.js new file mode 100644 index 0000000000..f89fb97d8d --- /dev/null +++ b/swat/style/qooxdoo/widgets/widgets/QxContainer.js @@ -0,0 +1,2 @@ +/* Copyright (c): 2002-2005 (Germany): United Internet, 1&1, GMX, Schlund+Partner, Alturo */ +function QxContainer(vHtml){QxTerminator.call(this);if(isValid(vHtml)){this.setHtml(vHtml);};};QxContainer.extend(QxTerminator,"QxContainer");QxContainer.addProperty({name:"html",type:String});proto._modifyElement=function(_b1,_b2,_b3,_b4){QxWidget.prototype._modifyElement.call(this,_b1,_b2,_b3,_b4);if(_b1){return this._applyHtml();}else if(_b2){_b2.innerHTML="";};return true;};proto._modifyHtml=function(_b1,_b2,_b3,_b4){return this._applyHtml();};proto._applyHtml=function(){if(!this.isCreated()){return true;};var vHtml=this.getHtml();if(isValid(vHtml)){this.getElement().innerHTML=vHtml;this._invalidatePreferred("load");this._outerChanged("load");}else {this.getElement().innerHTML="";this._invalidatePreferred("unload");this._outerChanged("unload");};return true;};
\ No newline at end of file |