[FIX] calendar: avoid double popup, opw 606297
authorMartin Trigaux <mat@openerp.com>
Mon, 2 Jun 2014 16:00:25 +0000 (18:00 +0200)
committerMartin Trigaux <mat@openerp.com>
Mon, 2 Jun 2014 16:22:06 +0000 (18:22 +0200)
commit6e5bef9bd2b2f4644d1c10b01e8228fd29665bdd
tree1373e348929d2726bdab6b7b1301675a1f508dfe
parent530d8bf3ceb2ca43beb3d320de501908c6d14dc5
[FIX] calendar: avoid double popup, opw 606297

Some browsers (e.g. chrome) trigger onEmptyClick as well as
onBeforeLightbox during drag&drop which calls two slow_create
calls (and two popups). Workaround to kill the second one.
addons/web_calendar/static/src/js/calendar.js