allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kentontay...@apache.org
Subject allura git commit: [#8246] Added validation to block empty inputs
Date Fri, 19 Oct 2018 17:19:04 GMT
Repository: allura
Updated Branches:
  refs/heads/master 9c2391356 -> 169b90484


[#8246] Added validation to block empty inputs


Project: http://git-wip-us.apache.org/repos/asf/allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/allura/commit/169b9048
Tree: http://git-wip-us.apache.org/repos/asf/allura/tree/169b9048
Diff: http://git-wip-us.apache.org/repos/asf/allura/diff/169b9048

Branch: refs/heads/master
Commit: 169b904844ee563129e9d30bc688c771466be44d
Parents: 9c23913
Author: Shalitha Suranga <shalithasuranga@gmail.com>
Authored: Thu Oct 18 12:00:51 2018 +0530
Committer: Shalitha Suranga <shalithasuranga@gmail.com>
Committed: Thu Oct 18 12:00:51 2018 +0530

----------------------------------------------------------------------
 ForgeWiki/forgewiki/templates/wiki/admin_home.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/allura/blob/169b9048/ForgeWiki/forgewiki/templates/wiki/admin_home.html
----------------------------------------------------------------------
diff --git a/ForgeWiki/forgewiki/templates/wiki/admin_home.html b/ForgeWiki/forgewiki/templates/wiki/admin_home.html
index f48b3dd..05ee380 100644
--- a/ForgeWiki/forgewiki/templates/wiki/admin_home.html
+++ b/ForgeWiki/forgewiki/templates/wiki/admin_home.html
@@ -20,7 +20,7 @@
   <label class="grid-13">Wiki Home Page:</label>
   <div class="grid-13">
     {% if allow_config %}
-     <input type="text" name="new_home" id="new_home" value="{{home}}"/>
+     <input type="text" name="new_home" id="new_home" value="{{home}}" required/>
     {% else %}
       <span>{{home}}</span>
     {% endif %}


Mime
View raw message