Sha256: 294d3336e1abd9e93eaceab8e24a54c90e052204beca5d7053e4fac29fd4ba06
Contents?: true
Size: 968 Bytes
Versions: 44
Compression:
Stored size: 968 Bytes
Contents
{ setActionModes: function (a) { this.actions.apply.setDisabled(!a["save"]); // style input field text based on whether it is editable this.getForm().findField('body').editor.setOption( "readOnly", !a["save"]); }, getScriptId: function () { return this.getForm().findField('id').getValue(); }, setLineError: function (idx) { idx -= 1; var editor = this.getForm().findField('body').editor; if (idx > -1) { var line = editor.getLine(idx) editor.markText({ line: idx, ch: 0 }, { line: idx, ch: line.length }, { className: "errorline" }); } editor.refresh(); }, refreshParent: function (script_name) { this.netzkeGetParentComponent().scriptRefresh(script_name); }, netzkeOnDoPrint: function (params) { this.server.doPrint(this.getScriptId()); }, getReport: function (report_path) { window.location = report_path; } }
Version data entries
44 entries across 44 versions & 1 rubygems