Search The ForumSearch   RegisterRegister  LoginLogin

AfterLogic WebMail Lite 7

 AfterLogic Forum : AfterLogic WebMail Lite 7
Subject Topic: Disable "Remove Account" option Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
iSofia
Newbie
Newbie
Avatar

Joined: 24 May 2014
Location: Singapore
Online Status: Offline
Posts: 35
Posted: 01 November 2014 at 1:43pm | IP Logged Quote iSofia

In the Email account properties panel, is there any way to disable the "Remove Account" option?

Thank you.
Back to Top View iSofia's Profile Search for other posts by iSofia
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 06 November 2014 at 3:01am | IP Logged Quote Igor

To achieve that, you can modify templates/views/Settings/AccountPropertiesViewModel.html file, find the following code there:

Code:
<div class="row remove_account" data-bind="visible: !isInternal() && allowUsersChangeEmailSettings">
     <span class="link" data-i18n="SETTINGS/ACCOUNTS_LINK_DELETE"
             data-bind="i18n: 'text', click: function () { $parent.onEditedAccountDelete() }">
     </span>
</div>


Comment out or remove it, the same way you'd do with any other HTML, then delete everything under data/cache/ directory to apply changes.

--
Regards,
Igor, AfterLogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 
iSofia
Newbie
Newbie
Avatar

Joined: 24 May 2014
Location: Singapore
Online Status: Offline
Posts: 35
Posted: 08 November 2014 at 7:28am | IP Logged Quote iSofia

Igor wrote:
To achieve that, you can modify templates/views/Settings/AccountPropertiesViewModel.html file...


Thanks Igor; that did the trick.
Back to Top View iSofia's Profile Search for other posts by iSofia
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump

Powered by Web Wiz Forums version 7.9
Copyright ©2001-2004 Web Wiz Guide