mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-29 18:50:08 +03:00
(cherry picked from commit eafea04fa66d327ed369e949e55608c67291b323)
This commit is contained in:
parent
6a97edf875
commit
0645467eb1
@ -583,7 +583,11 @@ define(function (require) {
|
||||
var dataDays = dataJSON.DAYS.split(",");
|
||||
dataDays.forEach(function(dataValue){
|
||||
if(days[dataValue]){
|
||||
$(days[dataValue]).prop("checked", true);
|
||||
if(dataValue > 0){
|
||||
$(days[dataValue - 1]).prop("checked", true);
|
||||
} else if (dataValue == 0){
|
||||
$(days[6]).prop("checked", true);
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user