close infobox on label edit cancel
This commit is contained in:
parent
9cd30721df
commit
50bad812d3
7
prefs.js
7
prefs.js
|
@ -684,6 +684,8 @@ function labelEditCancel() {
|
||||||
|
|
||||||
// notify("Operation cancelled.");
|
// notify("Operation cancelled.");
|
||||||
|
|
||||||
|
closeInfoBox();
|
||||||
|
|
||||||
xmlhttp.open("GET", "backend.php?op=pref-labels", true);
|
xmlhttp.open("GET", "backend.php?op=pref-labels", true);
|
||||||
xmlhttp.onreadystatechange=labellist_callback;
|
xmlhttp.onreadystatechange=labellist_callback;
|
||||||
xmlhttp.send(null);
|
xmlhttp.send(null);
|
||||||
|
@ -736,14 +738,15 @@ function labelEditSave() {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
closeInfoBox();
|
||||||
|
|
||||||
notify("Saving label...");
|
notify("Saving label...");
|
||||||
|
|
||||||
active_label = false;
|
active_label = false;
|
||||||
|
|
||||||
query = Form.serialize("label_edit_form");
|
query = Form.serialize("label_edit_form");
|
||||||
|
|
||||||
xmlhttp.open("GET", "backend.php?" + query, true);
|
xmlhttp.open("GET", "backend.php?" + query, true);
|
||||||
|
|
||||||
xmlhttp.onreadystatechange=labellist_callback;
|
xmlhttp.onreadystatechange=labellist_callback;
|
||||||
xmlhttp.send(null);
|
xmlhttp.send(null);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue