mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-24 03:21:28 +00:00
close infobox on label edit cancel
This commit is contained in:
5
prefs.js
5
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,6 +738,8 @@ function labelEditSave() {
|
||||
return;
|
||||
}
|
||||
|
||||
closeInfoBox();
|
||||
|
||||
notify("Saving label...");
|
||||
|
||||
active_label = false;
|
||||
@@ -743,7 +747,6 @@ function labelEditSave() {
|
||||
query = Form.serialize("label_edit_form");
|
||||
|
||||
xmlhttp.open("GET", "backend.php?" + query, true);
|
||||
|
||||
xmlhttp.onreadystatechange=labellist_callback;
|
||||
xmlhttp.send(null);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user