From 2271ed35d00150ff4ee5e310eaebc9485e06df5c Mon Sep 17 00:00:00 2001 From: Jorge Lobo <47326048+jloboescalona2@users.noreply.github.com> Date: Tue, 1 Oct 2019 14:15:04 +0200 Subject: [PATCH] B #3109: fix first id sched action when is 0 (#3792) Signed-off-by: Jorge Lobo --- src/sunstone/public/app/utils/schedule_action.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sunstone/public/app/utils/schedule_action.js b/src/sunstone/public/app/utils/schedule_action.js index 23b0ec0b72..43cbf84887 100644 --- a/src/sunstone/public/app/utils/schedule_action.js +++ b/src/sunstone/public/app/utils/schedule_action.js @@ -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); };