diff options
author | Aleksander Machniak <alec@alec.pl> | 2012-12-27 14:58:06 +0100 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2012-12-27 14:58:06 +0100 |
commit | 8809a1828477101ade03b261662df089e268ecb4 (patch) | |
tree | d98afbbc5641d0fb47c1eb0a70ec4e01f443f3ce | |
parent | 2b80d5dbf2ff301b0627b3a0e3c9a61e86658fd4 (diff) |
Fix regression in handling of content frames (#1488884)
-rw-r--r-- | program/js/app.js | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/program/js/app.js b/program/js/app.js index 4935dce24..5b8c2cd2f 100644 --- a/program/js/app.js +++ b/program/js/app.js @@ -441,10 +441,11 @@ function rcube_webmail() this.enable_command('login', true); break; + } - default: - break; - } + // unset contentframe variable if preview_pane is enabled + if (this.env.contentframe && !$('#' + this.env.contentframe).is(':visible')) + this.env.contentframe = null; // prevent from form submit with Enter key in file input fields if (bw.ie) |