diff --git a/orun/extjs/base.py b/orun/extjs/base.py index d772e1f..b6d1d70 100644 --- a/orun/extjs/base.py +++ b/orun/extjs/base.py @@ -27,13 +27,9 @@ def createByAlias(alias, args={}): return _create('createByAlias', alias, args) def get(id): - if isinstance(id, js.JsObject): - id = id._id return js.JsNode('Ext.get(\'%s\')' % id) def getCmp(id): - if isinstance(id, js.JsObject): - id = id._id return js.JsNode('Ext.getCmp(\'%s\')' % id) def getBody(): return js.JsNode('Ext.getBody()')