Search code examples
backbone.jsevent-bubbling

Event bubbling JQuery FullCalendar + Backbone


I'm currently making an application with Backbone.js and some JQuery libraries. Today I work on a Calendar using JQuery FullCalendar and I have a little problem :

If I click on day then close the form then click on an other day then I close etc... then I submit the form. I sent that form much of event clicked.

What I'm doing wrong ? This is my code.

Please give me a way to fix it :)


Solution

  • I fix it by exiting submit event out from the JQuery FullCalendar events. Now my code look like this.