You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by ke...@apache.org on 2018/10/19 17:19:04 UTC
allura git commit: [#8246] Added validation to block empty inputs
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 <sh...@gmail.com>
Authored: Thu Oct 18 12:00:51 2018 +0530
Committer: Shalitha Suranga <sh...@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 %}