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 authored and Ruben S. Montero committed 2019-10-01 14:15:04 +02:00
1 parent cf0d1465df
commit 2271ed35d0
1 file changed
+1 -1
@@ -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); };