Author |
|
iSofia Newbie
Joined: 24 May 2014 Location: Singapore
Online Status: Offline Posts: 35
|
Posted: 01 November 2014 at 1:43pm | IP Logged
|
|
|
In the Email account properties panel, is there any way to disable the "Remove Account" option?
Thank you.
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 06 November 2014 at 3:01am | IP Logged
|
|
|
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 |
|
|
iSofia Newbie
Joined: 24 May 2014 Location: Singapore
Online Status: Offline Posts: 35
|
Posted: 08 November 2014 at 7:28am | IP Logged
|
|
|
Igor wrote:
To achieve that, you can modify templates/views/Settings/AccountPropertiesViewModel.html file... |
|
|
Thanks Igor; that did the trick.
|
Back to Top |
|
|