2
0
mirror of https://github.com/ACSPRI/queXS synced 2024-04-02 12:12:16 +00:00

Fixed dialog box not appearing with new version of jquery / jquery ui

Fixed case not completing due to quotas with exclude_var_id of 0
Fixed notice on interface2 where $appointment  variable not specified
This commit is contained in:
Adam Zammit
2015-08-03 16:00:05 +10:00
parent a3ed3f47ef
commit 78714121ec
5 changed files with 11 additions and 16 deletions

View File

@@ -3,14 +3,7 @@ function poptastic(url, title)
var elem = jQuery("#inpage");
if (elem.length > 0) {
elem = jQuery(elem[0]);
if (elem.dialog("option", "title") == title) {
if (! elem.dialog("isOpen")) {
elem.dialog("open");
}
return;
} else {
elem.dialog("close").dialog("destroy").remove();
}
elem.dialog("close").dialog("destroy").remove();
}
jQuery('<iframe id="inpage" src="'+ url +'" />').dialog({
autoOpen: true,