]> git.wh0rd.org Git - tt-rss.git/commitdiff
close infobox on label edit cancel
authorAndrew Dolgov <fox@madoka.spb.ru>
Mon, 22 May 2006 08:03:25 +0000 (09:03 +0100)
committerAndrew Dolgov <fox@madoka.spb.ru>
Mon, 22 May 2006 08:03:25 +0000 (09:03 +0100)
prefs.js

index 53abc6501424e3752bf8fc04162a65c3f073bc7d..19fcc8b6a035d4572b0972be6a407e0b5b96ec54 100644 (file)
--- 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);