This commit is contained in:
gitadmin committed 2018-08-08 20:34:22 +03:00
1 parent 1caa69e2e4
commit 3286b15441
3 files changed
+6 -6

No files matched your search

+1 -1
View File
@@ -17,7 +17,7 @@ class MyApplication(cp.ExtApplication):
'items': [{'xtype': 'button', 'text': 'Click Here', 'handler': button_click}],
'buttons': [
{'text': 'OK', 'handler': js.FuncWithParams(ok_click, {'arg1': 1, 'arg2': 'val2'})},
{'text': 'Close', 'handler': js.function('this.up(\'window\').close()')}]})
{'text': 'Close', 'handler': str(js.function('this.up(\'window\').close()'))}]})
wnd.show()
wnd.setHeight(200)