if ($subop == "editCat") {
print "Edit category:
<input type=\"submit\" class=\"button\"
- onclick=\"javascript:feedCatEditSave()\" value=\"Save\">
+ onclick=\"return feedCatEditSave()\" value=\"Save\">
<input type=\"submit\" class=\"button\"
- onclick=\"javascript:feedCatEditCancel()\" value=\"Cancel\">";
+ onclick=\"return feedCatEditCancel()\" value=\"Cancel\">";
} else {
print "
Selection:
<input type=\"submit\" class=\"button\" disabled=\"true\"
- onclick=\"javascript:editSelectedFeedCat()\" value=\"Edit\">
+ onclick=\"return editSelectedFeedCat()\" value=\"Edit\">
<input type=\"submit\" class=\"button\" disabled=\"true\"
- onclick=\"javascript:removeSelectedFeedCats()\" value=\"Remove\">";
+ onclick=\"return removeSelectedFeedCats()\" value=\"Remove\">";
}
print "<input type=\"submit\"
id=\"infobox_submit\"
- class=\"button\" onclick=\"filterEditSave()\"
+ class=\"button\" onclick=\"return filterEditSave()\"
value=\"Save\"> ";
print "<input class=\"button\"
- type=\"submit\" onclick=\"filterEditCancel()\"
+ type=\"submit\" onclick=\"return filterEditCancel()\"
value=\"Cancel\">";
print "</div>";
print "<input type=\"submit\"
class=\"button\"
- onclick=\"javascript:displayDlg('quickAddFilter', false)\"
+ onclick=\"return displayDlg('quickAddFilter', false)\"
id=\"create_filter_btn\"
value=\"Create filter\">";
print "
Selection:
<input type=\"submit\" class=\"button\" disabled=\"true\"
- onclick=\"javascript:editSelectedFilter()\" value=\"Edit\">
+ onclick=\"return editSelectedFilter()\" value=\"Edit\">
<input type=\"submit\" class=\"button\" disabled=\"true\"
- onclick=\"javascript:removeSelectedFilters()\" value=\"Remove\">";
+ onclick=\"return removeSelectedFilters()\" value=\"Remove\">";
print "</p>";
print "<input type=\"submit\"
id=\"infobox_submit\"
- class=\"button\" onclick=\"qaddFilter()\"
+ class=\"button\" onclick=\"return qaddFilter()\"
disabled=\"true\" value=\"Create\"> ";
print "<input class=\"button\"
- type=\"submit\" onclick=\"closeInfoBox()\"
+ type=\"submit\" onclick=\"return closeInfoBox()\"
value=\"Cancel\">";
print "</div>";
print "<div align='right'>
<input class=\"button\"
- type=\"submit\" onclick=\"javascript:userEditSave()\" value=\"Save\">
+ type=\"submit\" onclick=\"return userEditSave()\"
+ value=\"Save\">
<input class=\"button\"
- type=\"submit\" onclick=\"javascript:userEditCancel()\"
+ type=\"submit\" onclick=\"return userEditCancel()\"
value=\"Cancel\"></div>";
print "</div>";
} else {
alert("No labels are selected.");
}
+
+ return false;
}
function removeSelectedUsers() {
} else {
alert("No users are selected.");
}
+
+ return false;
}
function removeSelectedFilters() {
} else {
alert("No filters are selected.");
}
+
+ return false;
}
alert("No feeds are selected.");
}
-
+
+ return false;
}
function removeSelectedFeedCats() {
}
+ return false;
}
function feedEditCancel() {
selectPrefRows('feed', false); // cleanup feed selection
+ return false;
}
function feedCatEditCancel() {
xmlhttp.onreadystatechange=feedlist_callback;
xmlhttp.send(null);
+ return false;
}
function feedEditSave() {
active_feed_cat = false;
+ return false;
}
xmlhttp.onreadystatechange=infobox_callback;
xmlhttp.send(null);
+ return false;
}
function displayHelpInfobox(topic_id) {
xmlhttp.onreadystatechange=labellist_callback;
xmlhttp.send(null);
+ return false;
}
function userEditCancel() {
selectPrefRows('user', false); // cleanup feed selection
closeInfoBox();
+
+ return false;
}
function filterEditCancel() {
selectPrefRows('filter', false); // cleanup feed selection
closeInfoBox();
+
+ return false;
}
function labelEditSave() {
xmlhttp.onreadystatechange=labellist_callback;
xmlhttp.send(null);
+ return false;
}
function userEditSave() {
xmlhttp.open("GET", "backend.php?" + query, true);
xmlhttp.onreadystatechange=userlist_callback;
xmlhttp.send(null);
+
+ return false;
}
xmlhttp.onreadystatechange=filterlist_callback;
xmlhttp.send(null);
+ return false;
}
function editSelectedLabel() {