mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-26 06:50:09 +03:00
Feature #2746: Fix bug in update template
This commit is contained in:
parent
425dbd8c22
commit
22c6e729ab
@ -1859,7 +1859,7 @@ function addSectionJSON(template_json,context){
|
||||
fields.each(function(){
|
||||
var field=$(this);
|
||||
if (!(field.parents(".vm_param").attr('disabled'))){ //if ! disabled
|
||||
if (field.val().length){ //if has a length
|
||||
if (field.val() != null && field.val().length){ //if has a length
|
||||
template_json[field.attr('id')]=field.val();
|
||||
};
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user