mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-29 12:09:20 +03:00
v1.14.0-djmaze5
This commit is contained in:
parent
dcdaf70601
commit
088945b636
5 changed files with 43 additions and 48 deletions
9
dev/External/ko.js
vendored
9
dev/External/ko.js
vendored
|
|
@ -628,15 +628,6 @@ ko.observable.fn.validateEmail = function() {
|
|||
return this;
|
||||
};
|
||||
|
||||
ko.observable.fn.validateSimpleEmail = function() {
|
||||
this.hasError = ko.observable(false);
|
||||
|
||||
this.subscribe(value => this.hasError(value && !/^.+@.+$/.test(value)));
|
||||
|
||||
this.valueHasMutated();
|
||||
return this;
|
||||
};
|
||||
|
||||
ko.observable.fn.deleteAccessHelper = function() {
|
||||
this.extend({ falseTimeout: 3000 }).extend({ toggleSubscribeProperty: [this, 'deleteAccess'] });
|
||||
return this;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue