mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-22 18:50:08 +03:00
(cherry picked from commit a712a92d63df5268f9aa3b83e9d599ec64cc8b36)
This commit is contained in:
parent
4f9a684a0f
commit
a3b2978151
@ -826,7 +826,6 @@ define(function(require) {
|
||||
function _attributeInput(attr) {
|
||||
var input;
|
||||
var clss = "";
|
||||
var defaultInput = attr && attr.type ? attr.type : "";
|
||||
var required = (attr.mandatory ? "required" : "");
|
||||
var wizard_field = "wizard_field='" + TemplateUtils.htmlEncode(attr.name) + "'";
|
||||
if (attr.wizard_field_disabled == true){
|
||||
@ -899,7 +898,7 @@ define(function(require) {
|
||||
input = "<input type='text' value='"+value+"' "+wizard_field+" "+required+" disabled/>";
|
||||
break;
|
||||
default:
|
||||
input = "<textarea type='text' rows='1' default='"+defaultInput+"' "+wizard_field+" "+required+">"+TemplateUtils.htmlEncode(value)+"</textarea>";
|
||||
input = "<textarea type='text' rows='1' "+wizard_field+" "+required+">"+TemplateUtils.htmlEncode(value)+"</textarea>";
|
||||
break;
|
||||
}
|
||||
if(attr.visor){
|
||||
|
Loading…
x
Reference in New Issue
Block a user