summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2014-08-04 11:05:58 +0200
committerAleksander Machniak <alec@alec.pl>2014-08-04 11:05:58 +0200
commit44cfef0927614f3bc48ab3376791aecd31fc90d9 (patch)
tree63e3b6eb9520a892061ec100f764858b86eaeb8b
parent65baa033e067483d5bcd57294aafab413b4cda2c (diff)
Modify is_framed() so it returns boolean value
-rw-r--r--program/js/app.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/js/app.js b/program/js/app.js
index 490234b4a..ca65176d9 100644
--- a/program/js/app.js
+++ b/program/js/app.js
@@ -1451,7 +1451,7 @@ function rcube_webmail()
this.is_framed = function()
{
- return (this.env.framed && parent.rcmail && parent.rcmail != this && parent.rcmail.command);
+ return this.env.framed && parent.rcmail && parent.rcmail != this && typeof parent.rcmail.command == 'function';
};
this.save_pref = function(prop)