1 /* generic function to open results in a popup window
7 mkws.registerWidgetType('Popup', function() {
8 alert("running popup");
11 alert("Error: jquery-ui.js is missing, did you include it after jQuery core in the HTML file?");
15 if (!this.config.popup_width) this.config.popup_width = "800";
16 if (!this.config.popup_height) this.config.popup_height = "600";
17 if (!this.config.auto_open) this.config.auto_open = "0";
21 autoOpen: parseInt(this.config.auto_open) ? true : false,
22 height: parseInt(this.config.popup_height),
23 width: parseInt(this.config.popup_width),
28 $(this).dialog("close");