mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-05 07:27:04 +03:00
Google Drive (second look)
This commit is contained in:
parent
eea55d4e0a
commit
7107104e1a
18 changed files with 507 additions and 233 deletions
|
|
@ -1118,7 +1118,6 @@ Utils.initDataConstructorBySettings = function (oData)
|
|||
oData.googleEnable = ko.observable(false);
|
||||
oData.googleClientID = ko.observable('');
|
||||
oData.googleClientSecret = ko.observable('');
|
||||
oData.googleApiKey = ko.observable('');
|
||||
|
||||
oData.dropboxEnable = ko.observable(false);
|
||||
oData.dropboxApiKey = ko.observable('');
|
||||
|
|
@ -2016,3 +2015,21 @@ Utils.detectDropdownVisibility = _.debounce(function () {
|
|||
return oItem.hasClass('open');
|
||||
}));
|
||||
}, 50);
|
||||
|
||||
Utils.triggerAutocompleteInputChange = function (bDelay) {
|
||||
|
||||
var fFunc = function () {
|
||||
$('.checkAutocomplete').trigger('change');
|
||||
};
|
||||
|
||||
if (bDelay)
|
||||
{
|
||||
_.delay(fFunc, 100);
|
||||
}
|
||||
else
|
||||
{
|
||||
fFunc();
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue