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

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