I'm using Full Calendar with draggable events. I have specified a url in the event object which causes the event to link to a page. Whenever I drag an event in IE or Chrome, the click event does not fire (that's good). But it does in Firefox. There is an event called eventClick provided by Full Calendar but apparently that doesn't fire before the hyperlink redirects. Is there some way to prevent drags from firing the click event without using some jQuery hack?
相关问题
- SQLite Storage in Firefox 3.0 +
- Writing a custom protocol handler portable on Fire
- setInterval doesn't slow down on inactive tab
- Click only through holes in svg mask
- CSS grid behaviour different in Chrome and Firefox
相关文章
- Firefox remembering radio buttons incorrectly
- CSS Firefox box-shadow and outline
- XML Parsing Error in Firefox developer console
- Button onclick doesn't fire after onchange inp
- firefox ondrop event.dataTransfer is null after up
- CORS request did not succeed on Firefox but works
- Firebug console error HTTP 407 Proxy Authenticatio
- non standard locale with java.util.Calendar
The problem is with event.url
Change your event from url: to hackurl:
And then in your click event instead of:
have
I have the exact same problem and was fixed by simply using a different custom attribute - for now it's a clean and very simple workaround that doesn't require hacking jquery or fullcalendar javascript.
Hope it helps