mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-21 14:50:08 +03:00
bug #2198: #Periods column in sunstone may show 0/undefined
(cherry picked from commit a0a50caddc3da76d080affe43997575b885c034a)
This commit is contained in:
parent
9530572c0e
commit
7c6cf3f6ff
@ -1416,11 +1416,11 @@ function fillUpUpdateServiceTemplateDialog(request, response){
|
||||
$("#type" ,td).val(this['type'])
|
||||
$("#type" ,td).change();
|
||||
$("#adjust" ,td).val(this['adjust'] )
|
||||
$("#min_adjust_step" ,td).val(this['min_adjust_step'] )
|
||||
$("#expression" ,td).val(this['expression'] )
|
||||
$("#period" ,td).val(this['period'] )
|
||||
$("#period_number" ,td).val(this['period_number'] )
|
||||
$("#cooldown" ,td).val(this['cooldown'] )
|
||||
$("#min_adjust_step" ,td).val(this['min_adjust_step'] || "" )
|
||||
$("#period" ,td).val(this['period'] || "" )
|
||||
$("#period_number" ,td).val(this['period_number'] || "")
|
||||
$("#cooldown" ,td).val(this['cooldown'] || "" )
|
||||
})
|
||||
}
|
||||
|
||||
@ -1431,7 +1431,7 @@ function fillUpUpdateServiceTemplateDialog(request, response){
|
||||
$("#type", td).val(this['type'])
|
||||
$("#type" ,td).change();
|
||||
$("#adjust", td).val(this['adjust'] )
|
||||
$("#min_adjust_step", td).val(this['min_adjust_step'] )
|
||||
$("#min_adjust_step", td).val(this['min_adjust_step'] || "")
|
||||
|
||||
if (this['start_time']) {
|
||||
$("#time_format", td).val('start_time');
|
||||
|
Loading…
x
Reference in New Issue
Block a user