title: FullCalendar external event drop two different modals
body: <p>I'm sort of self-teaching myself through trial and error, lots of errors :)  I'm stuck.  I am using fullCalendar which is working great from JSON feeds. </p>
  
  <p>I want to drag external events to the calendar and depending on the event dragged, show a different modal.  The event drop and modal show is working, except its opening both (vacation on top of repair) every time.</p>
  
  <pre><code>&lt;div id="external-events"&gt;
  &lt;div id="vacationdrop" class="fc-event vacation" className="vacation"&gt;Vacation&lt;/div&gt;
  &lt;div id="repairdrop" class="fc-event repair" className="repair"&gt;Repair&lt;/div
  &lt;/div&gt;
  </code></pre>
  
  <p>The event drop:</p>
  
  <pre><code>drop: function() {
      if (jQuery('#external-events .fc-event').hasClass('repair') {
          var territory = jQuery(terrDropdown).find(':selected').text();
          var start = moment(start).format("YYYY-MM-DD");
          var end = moment(end).format("YYYY-MM-DD");
          jQuery('#calendarRepairModal #startdate').val(start);
          jQuery('#calendarRepairModal #enddate').val(end);
          jQuery('#calendarRepairModal #terr').val(territory);
          jQuery("#calendarRepairModal").modal("show");
  
        }
      };
  
      else {
  
        if (jQuery('#external-events .fc-event').hasClass('vacation') {
            var territory = jQuery(terrDropdown).find(':selected').text();
            var start = moment(start).format("YYYY-MM-DD");
            var end = moment(end).format("YYYY-MM-DD");
            jQuery('#calendarVacationModal #startdate').val(start);
            jQuery('#calendarVacationModal #enddate').val(end);
            jQuery('#calendarVacationModal #terr').val(territory);
            jQuery("#calendarVacationModal").modal("show");
          };)
  
      },
  </code></pre>
  
  <p>Any help would be appreciated. I did search quite extensively but nothing that resembles my objective. Also, I've written jQuery out each time because I'm also using wordpress, and its finicky.</p>