remove unnecessary alert

This commit is contained in:
Antelle 2015-11-22 14:23:41 +03:00
parent d867523b92
commit 0efce29383
1 changed files with 2 additions and 11 deletions

View File

@ -308,17 +308,8 @@ var AppView = Backbone.View.extend({
}
},
showVisualLock: function(message) {
// TODO: remove this
if (Alerts.alertDisplayed) {
return;
}
message += '<div class="muted-color">Note: this will be removed once 2-way sync is implemented</div>';
Alerts.info({
header: 'Auto-lock failed',
body: message,
icon: 'lock'
});
showVisualLock: function() {
// TODO: remove cases which lead to this
},
saveAndLock: function(autoInit) {