- Please click "Add Another Group", if you wish to add another group or click
- "View Group List" to complete the process and go back to the group list.
-
-
-
-
-
-
-
- Add Another Group
-
+ You will be redirected to the Group Listing page in a moment.
- An invitation mail will be sent to this user to initiate device enrollment.
-
- Please click "Add Another User", if you wish to add another user or click
- "View User List" to complete the process and go back to the user list.
-
-
-
-
-
-
-
- Add Another User
-
+
+
+
+
+ An invitation mail will be sent to this user to initiate device enrollment.
+
diff --git a/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/pages/cdmf.page.user.create/public/js/bottomJs.js b/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/pages/cdmf.page.user.create/public/js/bottomJs.js
index 317cf435e4..28d4af3fdb 100644
--- a/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/pages/cdmf.page.user.create/public/js/bottomJs.js
+++ b/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/pages/cdmf.page.user.create/public/js/bottomJs.js
@@ -226,7 +226,7 @@ $(document).ready(function () {
var firstname = firstnameInput.val();
var lastname = lastnameInput.val();
var emailAddress = $("input#emailAddress").val();
- var roles ;
+ var roles;
if ($("#roles").length > 0) {
roles = $("select#roles").val();
}
@@ -282,7 +282,13 @@ $(document).ready(function () {
}
// Refreshing with success message
$("#user-create-form").addClass("hidden");
- $("#user-created-msg").removeClass("hidden");
+ modalDialog.header('' +
+ ' User was added successfully');
+ modalDialog.content($("#modal-content-user-created").html());
+ modalDialog.footer('
- Please click "View Updated User", if you wish to view the updated user or click
- "View User List" to complete the process and go back to the user list.
-
-
-
-
-
-
-
- View Updated User
-
+ You will be redirected to User Listing Page in a moment.
- Please click "Add Another Policy", if you wish to add another policy or click
- "View policy list" to complete the process and go back to the policy list.
+
- Please click "Add Another Policy", if you wish to add another policy or click
- "View policy list" to complete the process and go back to the policy list.
-
-
-
-
-
-
-
- Add another policy
-
+ You will be redirected to Policy Listing page in a moment.
+
diff --git a/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.policy.edit/public/js/policy-edit.js b/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.policy.edit/public/js/policy-edit.js
index e2a7182b6b..6242ec3a55 100644
--- a/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.policy.edit/public/js/policy-edit.js
+++ b/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.policy.edit/public/js/policy-edit.js
@@ -495,6 +495,9 @@ var updatePolicy = function (policy, state) {
if (jqXHR.status == 200) {
$(".add-policy").addClass("hidden");
$(".policy-message").removeClass("hidden");
+ setTimeout(function() {
+ window.location.href = "/devicemgt/policies";
+ }, 1000);
}
},
// on error
@@ -513,6 +516,9 @@ var updatePolicy = function (policy, state) {
$(".add-policy").addClass("hidden");
$(".policy-naming").addClass("hidden");
$(".policy-message").removeClass("hidden");
+ setTimeout(function() {
+ window.location.href = "/devicemgt/policies";
+ }, 1000);
}
},
// on error
diff --git a/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.role.edit.permission/permission.hbs b/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.role.edit.permission/permission.hbs
index 8671888233..30317ac052 100644
--- a/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.role.edit.permission/permission.hbs
+++ b/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.role.edit.permission/permission.hbs
@@ -69,19 +69,8 @@
Permissions were assigned to the role successfully.
- Please click "Add Another Role", if you wish to add another role or click
- "View Role List" to complete the process and go back to the role list.
+ You will be redirected to Roles Listing Page in a moment.
-
-
-
-
-
-
- Add Another Role
-
- Please click "View Updated Role", if you wish to view the updated role or click
- "View Role List" to complete the process and go back to the role list.
-
-
-
-
-
-
-
- View Updated Role
-
+ You will be redirected to Roles Listing Page in a moment.