mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-22 20:54:49 +09:00
Signed-off-by: Jorge Lobo <jlobo@opennebula.io>
(cherry picked from commit 0c02bd47df)
This commit is contained in:
1 parent
7b78ba18bb
commit
b3476a1867
2 files changed
+1
-3
No files matched your search
@@ -40,7 +40,7 @@
|
||||
{{#unless wizard_field_disabled}}wizard_field="{{name}}"{{/unless}}
|
||||
{{#if disabled}}disabled="true"{{/if}}/>
|
||||
<input type="number" class="visor"
|
||||
min="{{min}}" max="{{max_value}}"
|
||||
data-min="{{min}}" data-max="{{max_value}}"
|
||||
value="{{initial}}" required/>
|
||||
</div>
|
||||
</div>
|
||||
@@ -903,8 +903,6 @@ define(function(require) {
|
||||
break;
|
||||
}
|
||||
if(attr.visor){
|
||||
var min = attr.min != undefined ? attr.min : "";
|
||||
var max = attr.max != undefined ? attr.max : "";
|
||||
input += '<input type="number" class="visor" value="'+value+'" required>';
|
||||
}
|
||||
return input;
|
||||
|
||||
Reference in new issue
Block a user