mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-20 11:52:37 +09:00
Bug #4665: Fix service template wizard, wrong pattern for network names validation
This commit is contained in:
1 parent
5764e05834
commit
fa4e30a9a5
1 file changed
+2
-2
@@ -103,8 +103,8 @@ define(function(require) {
|
||||
$(".service_networks tbody").append(
|
||||
'<tr>\
|
||||
<td>\
|
||||
<input class="service_network_name" type="text" pattern="[a-z]*"/>\
|
||||
<small class="form-error">'+Locale.tr("Can only contain alphanumeric and underscore characters")+'</small>\
|
||||
<input class="service_network_name" type="text" pattern="^\\w+$"/>\
|
||||
<small class="form-error"><br/>'+Locale.tr("Can only contain alphanumeric and underscore characters")+'</small>\
|
||||
</td>\
|
||||
<td>\
|
||||
<textarea class="service_network_description"/>\
|
||||
|
||||
Reference in new issue
Block a user