Hide "Automatically add recipients to your address beech" configuration on contacts disable

This commit is contained in:
RainLoop Team 2013-12-19 05:15:59 +04:00
parent 2d9ff7d63f
commit 2fe279e441
5 changed files with 5 additions and 3 deletions

View file

@ -39,6 +39,7 @@ function SettingsGeneral()
this.mppTrigger = ko.observable(Enums.SaveSettingsStep.Idle); this.mppTrigger = ko.observable(Enums.SaveSettingsStep.Idle);
this.isAnimationSupported = Globals.bAnimationSupported; this.isAnimationSupported = Globals.bAnimationSupported;
this.allowContacts = !!RL.settingsGet('ContactsIsAllowed');
} }
Utils.addSettingsViewModel(SettingsGeneral, 'SettingsGeneral', 'SETTINGS_LABELS/LABEL_GENERAL_NAME', 'general', true); Utils.addSettingsViewModel(SettingsGeneral, 'SettingsGeneral', 'SETTINGS_LABELS/LABEL_GENERAL_NAME', 'general', true);

View file

@ -2,7 +2,7 @@
"name": "RainLoop", "name": "RainLoop",
"title": "RainLoop Webmail", "title": "RainLoop Webmail",
"version": "1.5.1", "version": "1.5.1",
"release": "555", "release": "556",
"description": "Simple, modern & fast web-based email client", "description": "Simple, modern & fast web-based email client",
"homepage": "http://rainloop.net", "homepage": "http://rainloop.net",
"main": "Gruntfile.js", "main": "Gruntfile.js",

View file

@ -63,7 +63,7 @@
</label> </label>
</div> </div>
</div> </div>
<div class="control-group"> <div class="control-group" data-bind="visible: allowContacts">
<div class="controls"> <div class="controls">
<label data-bind="click: function () { contactsAutosave(!contactsAutosave()); }"> <label data-bind="click: function () { contactsAutosave(!contactsAutosave()); }">
<i data-bind="css: contactsAutosave() ? 'icon-checkbox-checked' : 'icon-checkbox-unchecked'"></i> <i data-bind="css: contactsAutosave() ? 'icon-checkbox-checked' : 'icon-checkbox-unchecked'"></i>

View file

@ -12256,6 +12256,7 @@ function SettingsGeneral()
this.mppTrigger = ko.observable(Enums.SaveSettingsStep.Idle); this.mppTrigger = ko.observable(Enums.SaveSettingsStep.Idle);
this.isAnimationSupported = Globals.bAnimationSupported; this.isAnimationSupported = Globals.bAnimationSupported;
this.allowContacts = !!RL.settingsGet('ContactsIsAllowed');
} }
Utils.addSettingsViewModel(SettingsGeneral, 'SettingsGeneral', 'SETTINGS_LABELS/LABEL_GENERAL_NAME', 'general', true); Utils.addSettingsViewModel(SettingsGeneral, 'SettingsGeneral', 'SETTINGS_LABELS/LABEL_GENERAL_NAME', 'general', true);

File diff suppressed because one or more lines are too long