]> git.wh0rd.org - tt-rss.git/commitdiff
filters: make caption required
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Mon, 1 Apr 2013 04:46:01 +0000 (08:46 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Mon, 1 Apr 2013 04:46:01 +0000 (08:46 +0400)
classes/pref/filters.php

index 6ccff51d76fe3d765e3e913cc32a34eb80b72746..b1024082a94cf535e39586b20fe7b1576c535e36 100644 (file)
@@ -267,7 +267,7 @@ class Pref_Filters extends Handler_Protected {
 
                print "<div class=\"dlgSec\">".__("Caption")."</div>";
 
-               print "<input dojoType=\"dijit.form.TextBox\" style=\"width : 20em;\" name=\"title\" value=\"$title\">";
+               print "<input required dojoType=\"dijit.form.TextBox\" style=\"width : 20em;\" name=\"title\" value=\"$title\">";
 
                print "</div>";
 
@@ -724,7 +724,7 @@ class Pref_Filters extends Handler_Protected {
 
                print "<div class=\"dlgSec\">".__("Caption")."</div>";
 
-               print "<input dojoType=\"dijit.form.TextBox\" style=\"width : 20em;\" name=\"title\" value=\"\">";
+               print "<input required dojoType=\"dijit.form.TextBox\" style=\"width : 20em;\" name=\"title\" value=\"\">";
 
                print "<div class=\"dlgSec\">".__("Match")."</div>";