From: ramverma Date: Tue, 18 Sep 2018 14:39:34 +0000 (+0100) Subject: Fix issue in apex client editor X-Git-Tag: 2.0.0~30 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=024a4dd745b2f6ec9f15082d711e61994c95cdad;p=policy%2Fapex-pdp.git Fix issue in apex client editor Change-Id: If12bd289d9c8a22b86b4a9c9bff21c1a9d42a3d1 Issue-ID: POLICY-954 Signed-off-by: ramverma --- diff --git a/client/client-editor/src/main/resources/webapp/js/ApexPageControl.js b/client/client-editor/src/main/resources/webapp/js/ApexPageControl.js index 71c2614fb..d81b0fe0d 100644 --- a/client/client-editor/src/main/resources/webapp/js/ApexPageControl.js +++ b/client/client-editor/src/main/resources/webapp/js/ApexPageControl.js @@ -183,7 +183,7 @@ function pageControl_successStatus(data) { $('#statusString').html(data.result); $("#statusMessageTable").empty(); - if (data.OK) { + if (data.ok) { $('#statusString').css("color", "green"); $('#ebInlineMessage-iconHolder-icon').attr("class", "ebIcon ebIcon_big ebIcon_tick"); } else { @@ -208,7 +208,7 @@ function pageControl_status(data) { $('#statusString').html(data.result); $("#statusMessageTable").empty(); - if (data.OK) { + if (data.ok) { $('#statusString').css("color", "green"); $('#ebInlineMessage-iconHolder-icon').attr("class", "ebIcon ebIcon_big ebIcon_tick"); } else {