Commit c16d167cff9f0ee5f7a6eda90db9185783258550
1 parent
bfb5097b
Committed code: Refs: #15245
Showing
2 changed files
with
3 additions
and
10 deletions
400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js
... | ... | @@ -3316,15 +3316,7 @@ function ($rootScope, Modules, $log, $location, $timeout, DataService, Authentic |
3316 | 3316 | AdminService.SendAdminAccessRequestMail(userInfo) |
3317 | 3317 | .then(function (result) { |
3318 | 3318 | if (result == AdminConstants.MAIL_SENT) { |
3319 | - $rootScope.errorMassage = AdminConstants.MAIL_SENT; | |
3320 | - $("#messageModal").modal('show'); | |
3321 | - } | |
3322 | - else if (result == AdminConstants.MAIL_NOT_SENT) { | |
3323 | - $rootScope.errorMassage = AdminConstants.MAIL_NOT_SENT; | |
3324 | - $("#messageModal").modal('show'); | |
3325 | - } | |
3326 | - else { | |
3327 | - $rootScope.errorMassage = result; | |
3319 | + $rootScope.errorMassage = AdminConstants.MAIL_SENT_SUCCESS_MESSAGE; | |
3328 | 3320 | $("#messageModal").modal('show'); |
3329 | 3321 | } |
3330 | 3322 | $("#adminModal").fadeOut(); | ... | ... |
400-SOURCECODE/AIAHTML5.Web/app/main/AIA.js
... | ... | @@ -313,7 +313,8 @@ AIA.constant("LoginMessageConstants", { |
313 | 313 | AIA.constant("AdminConstants", { |
314 | 314 | "ERROR_IN_SENDING_MAIL": "Some internal error occured.", |
315 | 315 | "MAIL_SENT": "Mail sent.", |
316 | - "MAIL_NOT_SENT": "Mail not sent." | |
316 | + "MAIL_NOT_SENT": "Mail not sent.", | |
317 | + "MAIL_SENT_SUCCESS_MESSAGE": "We have received your request. We will get back to you soon." | |
317 | 318 | }) |
318 | 319 | AIA.constant("UserTypeConstants", { |
319 | 320 | "SUPER_ADMIN": "Super Admin", | ... | ... |