var xmlhttp = false;
+var active_feed = false;
+
/*@cc_on @*/
/*@if (@_jscript_version >= 5)
// JScript gives us Conditional compilation, we can cope with old IE versions.
var container = document.getElementById('feeds');
if (xmlhttp.readyState == 4) {
container.innerHTML=xmlhttp.responseText;
+
+ if (active_feed) {
+ var row = document.getElementById("FEEDR-" + active_feed);
+ if (row) {
+ if (!row.className.match("Selected")) {
+ row.className = row.className + "Selected";
+ }
+ }
+ var checkbox = document.getElementById("FRCHK-" + active_feed);
+ if (checkbox) {
+ checkbox.checked = true;
+ }
+ }
}
}
return
}
+ active_feed = feed;
+
xmlhttp.open("GET", "backend.php?op=pref-feeds&subop=edit&id=" +
param_escape(feed), true);
xmlhttp.onreadystatechange=feedlist_callback;
return
}
+ active_feed = false;
+
notify("Operation cancelled.");
xmlhttp.open("GET", "backend.php?op=pref-feeds", true);