From: Andrew Dolgov Date: Mon, 22 May 2006 08:03:25 +0000 (+0100) Subject: close infobox on label edit cancel X-Git-Tag: 1.2.0~40 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=50bad812d3a4e3d7b91f69bc0579392dc2687f0f;p=tt-rss.git close infobox on label edit cancel --- diff --git a/prefs.js b/prefs.js index 53abc650..19fcc8b6 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);