1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-27 10:50:10 +03:00

B #3109: fix first id sched action when is 0 (#3792)

Signed-off-by: Jorge Lobo <jlobo@opennebula.systems>
This commit is contained in:
Jorge Lobo 2019-10-01 14:15:04 +02:00 committed by Ruben S. Montero
parent cf0d1465df
commit 2271ed35d0

View File

@ -196,7 +196,7 @@ define(function (require) {
var actionJSON = {};
if ($(this).attr("data")) {
actionJSON = JSON.parse($(this).attr("data"));
actionJSON.ID = index;
actionJSON.ID = String(index);
}
}
if (!$.isEmptyObject(actionJSON)) { actionsJSON.push(actionJSON); };