close infobox on label edit cancel
This commit is contained in:
parent
9cd30721df
commit
50bad812d3
5
prefs.js
5
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,6 +738,8 @@ function labelEditSave() {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
closeInfoBox();
|
||||||
|
|
||||||
notify("Saving label...");
|
notify("Saving label...");
|
||||||
|
|
||||||
active_label = false;
|
active_label = false;
|
||||||
|
@ -743,7 +747,6 @@ function labelEditSave() {
|
||||||
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