diff options
author | Aleksander Machniak <alec@alec.pl> | 2017-10-27 10:56:04 +0300 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2017-10-27 10:56:04 +0300 |
commit | 25270ccccacbebb130a3046ca9e14a895097e5cb (patch) | |
tree | 49451db477d355250fb8bea1c402611dd050ce11 /plugins | |
parent | a8aa559fa1571df0e007eae536629e4421d9ce07 (diff) |
Elastic: hide mobile navigation when creating objects
.. i.e. filters, filter sets, enigma keys
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/enigma/enigma.js | 2 | ||||
-rw-r--r-- | plugins/managesieve/managesieve.js | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/plugins/enigma/enigma.js b/plugins/enigma/enigma.js index fe4b8c041..3e1162f02 100644 --- a/plugins/enigma/enigma.js +++ b/plugins/enigma/enigma.js @@ -118,7 +118,7 @@ rcube_webmail.prototype.enigma_import_success = function() // Display key(s) generation form rcube_webmail.prototype.enigma_key_create = function() { - this.enigma_loadframe('&_action=plugin.enigmakeys&_a=create'); + this.enigma_loadframe('&_action=plugin.enigmakeys&_a=create&_nav=hide'); }; // Generate key(s) and submit them diff --git a/plugins/managesieve/managesieve.js b/plugins/managesieve/managesieve.js index fdd610ded..e15b01239 100644 --- a/plugins/managesieve/managesieve.js +++ b/plugins/managesieve/managesieve.js @@ -115,7 +115,7 @@ if (window.rcmail) { rcube_webmail.prototype.managesieve_add = function() { - this.load_managesieveframe('', true); + this.load_managesieveframe('_nav=hide', true); }; rcube_webmail.prototype.managesieve_del = function() @@ -234,13 +234,13 @@ rcube_webmail.prototype.managesieve_seteditraw = function() var id = this.filtersets_list.get_single_selection(), script = this.env.filtersets[id]; - this.load_managesieveframe('_seteditraw=1&_set=' + urlencode(script), true); -} + this.load_managesieveframe('_nav=hide&_seteditraw=1&_set=' + urlencode(script), true); +}; // Set add request rcube_webmail.prototype.managesieve_setadd = function() { - this.load_managesieveframe('_newset=1', true); + this.load_managesieveframe('_nav=hide&_newset=1', true); }; rcube_webmail.prototype.managesieve_updatelist = function(action, o) |