projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c692f28
)
Don't try to call js, if not passed back.
author
Jan Schneider
<jan@horde.org>
Mon, 29 Nov 2010 15:01:00 +0000
(16:01 +0100)
committer
Jan Schneider
<jan@horde.org>
Mon, 29 Nov 2010 15:01:00 +0000
(16:01 +0100)
imp/js/mobile.js
patch
|
blob
|
history
diff --git
a/imp/js/mobile.js
b/imp/js/mobile.js
index
4a101ea
..
b45e0c4
100644
(file)
--- a/
imp/js/mobile.js
+++ b/
imp/js/mobile.js
@@
-136,9
+136,11
@@
var ImpMobile = {
$('#imp-message-date').text(header.value);
}
});
- $.each(data.js, function(k, js) {
- $.globalEval(js);
- });
+ if (data.js) {
+ $.each(data.js, function(k, js) {
+ $.globalEval(js);
+ });
+ }
}
},