[qooxdoo-commit] SF.net SVN: qooxdoo: [12720] trunk/qooxdoo/frontend/framework/source/class/ qx/htm
Brought to you by:
ecker,
martinwittemann
From: <wp...@us...> - 2008-03-31 13:43:27
|
Revision: 12720 http://qooxdoo.svn.sourceforge.net/qooxdoo/?rev=12720&view=rev Author: wpbasti Date: 2008-03-31 06:43:24 -0700 (Mon, 31 Mar 2008) Log Message: ----------- Disabled queue for focus, capture and activate Modified Paths: -------------- trunk/qooxdoo/frontend/framework/source/class/qx/html/Element.js Modified: trunk/qooxdoo/frontend/framework/source/class/qx/html/Element.js =================================================================== --- trunk/qooxdoo/frontend/framework/source/class/qx/html/Element.js 2008-03-31 12:36:13 UTC (rev 12719) +++ trunk/qooxdoo/frontend/framework/source/class/qx/html/Element.js 2008-03-31 13:43:24 UTC (rev 12720) @@ -1342,8 +1342,15 @@ */ focus : function() { - qx.html.Element._actions.focus = this; - qx.html.Element._scheduleFlush("element"); + var el = this._element; + if (el) { + return qx.bom.Element.focus(el); + } + + this.debug("focus() for uncreated element!"); + + //qx.html.Element._actions.focus = this; + //qx.html.Element._scheduleFlush("element"); }, @@ -1370,8 +1377,15 @@ */ activate : function() { - qx.html.Element._actions.activate = this; - qx.html.Element._scheduleFlush("element"); + var el = this._element; + if (el) { + return qx.bom.Element.activate(el); + } + + this.debug("activate() for uncreated element!"); + + //qx.html.Element._actions.activate = this; + //qx.html.Element._scheduleFlush("element"); }, @@ -1395,8 +1409,15 @@ */ capture : function() { - qx.html.Element._actions.capture = this; - qx.html.Element._scheduleFlush("element"); + var el = this._element; + if (el) { + return qx.bom.Element.capture(el); + } + + this.debug("capture() for uncreated element!"); + + //qx.html.Element._actions.capture = this; + //qx.html.Element._scheduleFlush("element"); }, This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |