mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-29 12:09:20 +03:00
Bugfix: compose mail select contacts for cc/bcc failed
Cleanup: Inputosaurus and Knockout Change: Knockout domData now uses WeakMap Replaced: Knockout domManipulation with a documentFragment
This commit is contained in:
parent
fe7c7fede4
commit
ebe2c0536f
23 changed files with 410 additions and 889 deletions
4
dev/External/User/ko.js
vendored
4
dev/External/User/ko.js
vendored
|
|
@ -68,7 +68,7 @@ ko.bindingHandlers.emailsTags = {
|
|||
inputDelimiters = [',', ';', '\n'];
|
||||
|
||||
element.inputosaurus = new window.Inputosaurus(element, {
|
||||
focusCallback: value => fValue && fValue.focused && fValue.focused(!!value),
|
||||
focusCallback: value => fValue.focused && fValue.focused(!!value),
|
||||
autoCompleteSource: fAllBindings.autoCompleteSource || null,
|
||||
splitHook: value => {
|
||||
const v = value.trim();
|
||||
|
|
@ -89,7 +89,7 @@ ko.bindingHandlers.emailsTags = {
|
|||
}
|
||||
});
|
||||
|
||||
if (fValue && fValue.focused && fValue.focused.subscribe) {
|
||||
if (fValue.focused && fValue.focused.subscribe) {
|
||||
fValue.focused.subscribe(value =>
|
||||
element.inputosaurus[value ? 'focus' : 'blur']()
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue