From b59a27d561f4ac7f1e3274f6f3cb5be456e111bd Mon Sep 17 00:00:00 2001 From: inpos Date: Thu, 9 Aug 2018 19:15:34 +0300 Subject: [PATCH] undo last feature --- orun/extjs/base.py | 4 ---- 1 file changed, 4 deletions(-) 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()')