Sha256: 3872b0f7766ac5105053770d3a57207c719f220204c8b05dda13ca54d5bae3ca
Contents?: true
Size: 862 Bytes
Versions: 44
Compression:
Stored size: 862 Bytes
Contents
{ initComponent: function () { var me = this; me.callParent(); var form = me.getForm(); var window = this.netzkeGetParentComponent(); var parent_view = window.netzkeGetParentComponent(); this.serverConfig.parent_id = parent_view.serverConfig.parent_id || parent_view.serverConfig.selected; var textname = form.findField('import_data'); var importbutton = me.actions["apply"].items[0]; importbutton.on('click', function (t, e, ops) { me.netzkeGetComponent('result').updateBodyHtml(''); }); }, setResult: function (html) { var result = this.netzkeGetComponent('result'); result.updateBodyHtml(html); var window = this.netzkeGetParentComponent(); var parent_view = window.netzkeGetParentComponent(); if (parent_view && parent_view.reload) { parent_view.reload() } } }
Version data entries
44 entries across 44 versions & 1 rubygems