From: Andrew Dolgov Date: Wed, 14 Feb 2007 13:52:18 +0000 (+0100) Subject: add onchange event handling to toggleSubmitNotEmpty-enabled input boxes X-Git-Tag: 1.2.8~7 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=b5015f723f7010fde9d633b557beb66b18d5d659;p=tt-rss.git add onchange event handling to toggleSubmitNotEmpty-enabled input boxes --- diff --git a/modules/popup-dialog.php b/modules/popup-dialog.php index f9a95519..55f199ba 100644 --- a/modules/popup-dialog.php +++ b/modules/popup-dialog.php @@ -54,6 +54,7 @@ "; if (get_pref($link, 'ENABLE_FEED_CATS')) { @@ -92,6 +93,7 @@ print " "; @@ -166,8 +168,9 @@ print "Caption: "; + onkeyup=\"toggleSubmitNotEmpty(this, 'infobox_submit')\" + onchange=\"toggleSubmitNotEmpty(this, 'infobox_submit')\" + name=\"description\" class=\"iedit\">"; print ""; @@ -228,7 +231,8 @@ print "Match: "; print "On field:"; diff --git a/modules/pref-feeds.php b/modules/pref-feeds.php index 1ea63c96..f9290243 100644 --- a/modules/pref-feeds.php +++ b/modules/pref-feeds.php @@ -591,6 +591,7 @@   "; print "" . @@ -756,6 +758,7 @@ print "
Match: "; + onchange=\"toggleSubmitNotEmpty(this, 'infobox_submit')\" + name=\"reg_exp\" class=\"iedit\" value=\"$reg_exp\">"; print "On field:"; diff --git a/modules/pref-labels.php b/modules/pref-labels.php index 8f1bab7a..531764fe 100644 --- a/modules/pref-labels.php +++ b/modules/pref-labels.php @@ -37,7 +37,8 @@ print "Caption: "; print ""; diff --git a/modules/pref-users.php b/modules/pref-users.php index c3b85219..9835f4c1 100644 --- a/modules/pref-users.php +++ b/modules/pref-users.php @@ -185,6 +185,7 @@ print "
 "; print "