onclick=\"addFeed()\" value=\"".__('Subscribe')."\">"; */
print "<input onclick=\"javascript:displayDlg('quickAddFeed')\"
- type=\"submit\" id=\"fadd_subscribe_btn\"
+ type=\"submit\" id=\"subscribe_to_feed_btn\"
class=\"button\" value=\"".__('Subscribe to feed')."\">";
if (ENABLE_FEED_BROWSER && !SINGLE_USER_MODE) {
print " <input type=\"submit\" class=\"button\"
+ id=\"top25_feeds_btn\"
onclick=\"javascript:browseFeeds()\" value=\"".__('Top 25')."\">";
}
notify_progress("Loading, please wait...");
+ document.getElementById("subscribe_to_feed_btn").disabled = true;
+
+ try {
+ document.getElementById("top25_feeds_btn").disabled = true;
+ } catch (e) {
+ // this button is not always available, no-op if not found
+ }
+
// clean selection from all rows & select row being edited
selectTableRowsByIdPrefix('prefFeedList', 'FEEDR-', 'FRCHK-', false);
selectTableRowById('FEEDR-'+feed, 'FRCHK-'+feed, true);
return
}
+ document.getElementById("subscribe_to_feed_btn").disabled = false;
+
+ try {
+ document.getElementById("top25_feeds_btn").disabled = false;
+ } catch (e) {
+ // this button is not always available, no-op if not found
+ }
+
closeInfoBox();
selectPrefRows('feed', false); // cleanup feed selection
return
}
+ document.getElementById("subscribe_to_feed_btn").disabled = true;
+
+ try {
+ document.getElementById("top25_feeds_btn").disabled = true;
+ } catch (e) {
+ // this button is not always available, no-op if not found
+ }
+
xmlhttp.open("GET", "backend.php?op=pref-feeds&subop=editCats", true);
xmlhttp.onreadystatechange=infobox_callback;
xmlhttp.send(null);