Fixed domain popup saving

This commit is contained in:
RainLoop Team 2014-11-17 22:38:45 +04:00
parent cb50320db4
commit 2feee6d1dd
4 changed files with 39 additions and 28 deletions

View file

@ -81,11 +81,11 @@
}, this);
this.domainIsComputed = ko.computed(function () {
var bPhpMail = this.smtpPhpMail();
return '' !== this.name() &&
'' !== this.imapServer() &&
'' !== this.imapPort() &&
'' !== this.smtpServer() &&
'' !== this.smtpPort();
(('' !== this.smtpServer() && '' !== this.smtpPort()) || bPhpMail);
}, this);
this.canBeTested = ko.computed(function () {