From f35fb9266829e64a6900bc2c1414d6de9bb83870 Mon Sep 17 00:00:00 2001 From: Imesh Chandrasiri Date: Thu, 29 Jun 2017 12:03:36 +0530 Subject: [PATCH] Fixes #437 issue where propper validation message is needed --- .../app/pages/cdmf.page.group.create/public/js/group-add.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/pages/cdmf.page.group.create/public/js/group-add.js b/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/pages/cdmf.page.group.create/public/js/group-add.js index f6dac69f29..85b34decd9 100644 --- a/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/pages/cdmf.page.group.create/public/js/group-add.js +++ b/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/pages/cdmf.page.group.create/public/js/group-add.js @@ -120,7 +120,7 @@ function triggerError(el,errorMsg){ function displayErrors(message) { $('#error-msg').html(message.responseText); modalDialog.header('Unexpected error occurred!'); - modalDialog.content('

'); + modalDialog.content('

' + message.responseText + '

'); modalDialog.footer('
Ok' + '
'); modalDialog.showAsError();