summaryrefslogtreecommitdiff
path: root/program/js/common.js
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2011-06-30 11:58:01 +0000
committeralecpl <alec@alec.pl>2011-06-30 11:58:01 +0000
commit24958af8d9cc38185709e4f629c73df7df5b526f (patch)
tree7a54407b3d9163c8cd95890ee35ff8881d27d0f5 /program/js/common.js
parent4a142f63714530aae0f12d2c1fac1d8709393c5a (diff)
- Unset event name, so it will be not added to request data
Diffstat (limited to 'program/js/common.js')
-rw-r--r--program/js/common.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/program/js/common.js b/program/js/common.js
index 79832bed5..16f2ebfc4 100644
--- a/program/js/common.js
+++ b/program/js/common.js
@@ -347,9 +347,14 @@ triggerEvent: function(evt, e)
break;
}
}
+
+ if (ret)
+ delete ret.event;
}
this._event_exec = false;
+ delete e.event;
+
return ret;
}