1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-25 07:21:30 +00:00

add onchange event handling to toggleSubmitNotEmpty-enabled input boxes

This commit is contained in:
Andrew Dolgov
2007-02-14 14:52:18 +01:00
parent 2e93084687
commit b5015f723f
5 changed files with 16 additions and 6 deletions

View File

@@ -591,6 +591,7 @@
<input id=\"fadd_cat\"
onkeypress=\"return filterCR(event, addFeedCat)\"
onkeyup=\"toggleSubmitNotEmpty(this, 'catadd_submit_btn')\"
onchange=\"toggleSubmitNotEmpty(this, 'catadd_submit_btn')\"
size=\"40\">&nbsp;
<input
type=\"submit\" class=\"button\" disabled=\"true\" id=\"catadd_submit_btn\"
@@ -652,7 +653,8 @@
if (!$edit_cat_id || $action != "edit") {
print "<td width='5%' align='center'><input onclick='toggleSelectPrefRow(this, \"fcat\");'
print "<td width='5%' align='center'><input
onclick='toggleSelectPrefRow(this, \"fcat\");'
type=\"checkbox\" id=\"FCCHK-".$line["id"]."\"></td>";
print "<td><a href=\"javascript:editFeedCat($cat_id);\">" .
@@ -756,6 +758,7 @@
print "<div class=\"prefGenericAddBox\">
<input id=\"fadd_link\"
onkeyup=\"toggleSubmitNotEmpty(this, 'fadd_submit_btn')\"
onchange=\"toggleSubmitNotEmpty(this, 'fadd_submit_btn')\"
size=\"40\">
<input type=\"submit\" class=\"button\"
disabled=\"true\" id=\"fadd_submit_btn\"