summaryrefslogtreecommitdiff
path: root/prefs.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2006-05-22 09:03:25 +0100
committerAndrew Dolgov <[email protected]>2006-05-22 09:03:25 +0100
commit50bad812d3a4e3d7b91f69bc0579392dc2687f0f (patch)
tree84bdf8cb374bfca8d2132438555297adbc1c1eac /prefs.js
parent9cd30721df336c149601ee07210dc1a553ce586d (diff)
close infobox on label edit cancel
Diffstat (limited to 'prefs.js')
-rw-r--r--prefs.js7
1 files changed, 5 insertions, 2 deletions
diff --git a/prefs.js b/prefs.js
index 53abc6501..19fcc8b6a 100644
--- a/prefs.js
+++ b/prefs.js
@@ -684,6 +684,8 @@ function labelEditCancel() {
// notify("Operation cancelled.");
+ closeInfoBox();
+
xmlhttp.open("GET", "backend.php?op=pref-labels", true);
xmlhttp.onreadystatechange=labellist_callback;
xmlhttp.send(null);
@@ -736,14 +738,15 @@ function labelEditSave() {
return;
}
+ closeInfoBox();
+
notify("Saving label...");
active_label = false;
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.send(null);