projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d230934
)
Catch elements without id.
author
Jan Schneider
<jan@horde.org>
Tue, 18 Aug 2009 07:36:13 +0000
(09:36 +0200)
committer
Jan Schneider
<jan@horde.org>
Tue, 18 Aug 2009 09:44:00 +0000
(11:44 +0200)
imp/js/message.js
patch
|
blob
|
history
diff --git
a/imp/js/message.js
b/imp/js/message.js
index
5dd2a0f
..
e7777a7
100644
(file)
--- a/
imp/js/message.js
+++ b/
imp/js/message.js
@@
-140,6
+140,10
@@
var ImpMessage = {
{
var id = e.element().readAttribute('id');
+ if (!id) {
+ return;
+ }
+
if (id.startsWith('flag')) {
this.flagMessage(id.substring(4));
} else if (id.startsWith('target')) {