mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-02 14:07:04 +03:00
Fix js error (TypeError: Cannot call method 'settingsGet' of undefined)
+ small other fixes
This commit is contained in:
parent
cf0968b5a8
commit
726fa6982b
12 changed files with 87 additions and 124 deletions
|
|
@ -8,16 +8,16 @@ $window.unload(function () {
|
|||
});
|
||||
|
||||
// export
|
||||
window.rl = window.rl || {};
|
||||
window.rl.addHook = Plugins.addHook;
|
||||
window.rl.settingsGet = Plugins.mainSettingsGet;
|
||||
window.rl.remoteRequest = Plugins.remoteRequest;
|
||||
window.rl.pluginSettingsGet = Plugins.settingsGet;
|
||||
window.rl.addSettingsViewModel = Utils.addSettingsViewModel;
|
||||
window.rl.createCommand = Utils.createCommand;
|
||||
window['rl'] = window['rl'] || {};
|
||||
window['rl']['addHook'] = Plugins.addHook;
|
||||
window['rl']['settingsGet'] = Plugins.mainSettingsGet;
|
||||
window['rl']['remoteRequest'] = Plugins.remoteRequest;
|
||||
window['rl']['pluginSettingsGet'] = Plugins.settingsGet;
|
||||
window['rl']['addSettingsViewModel'] = Utils.addSettingsViewModel;
|
||||
window['rl']['createCommand'] = Utils.createCommand;
|
||||
|
||||
window.rl.EmailModel = EmailModel;
|
||||
window.rl.Enums = Enums;
|
||||
window['rl']['EmailModel'] = EmailModel;
|
||||
window['rl']['Enums'] = Enums;
|
||||
|
||||
window['__RLBOOT'] = function (fCall) {
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue