title: How do I edit an event in fullCalendar?
body: <p>I have this sample:</p>
  
  <p><a href="http://jsfiddle.net/rho79s7w/44/" rel="nofollow">link</a></p>
  
  <p><strong>CODE HTML:</strong></p>
  
  <pre><code>&lt;div id='calendar'&gt;&lt;/div&gt;
      &lt;div class="cont" style="display:none"&gt;
      &lt;button type="button" class="btn btn-primary btn-save" id="edit"&gt;Save&lt;/button&gt;
  ​​    &lt;input id="required-input" type="text" name="firstname" id="firstname" placeholder="John"&gt;
  </code></pre>
  
  <p><strong>CODE JS:</strong></p>
  
  <pre><code>   $(function() { // document ready
  
    var calendar=$('#calendar').fullCalendar({
      header: {
        left: 'prev,next today',
        center: 'title',
        right: 'month,agendaWeek,agendaDay'
      },
      defaultDate: '2014-11-12',
      editable: true,
      eventLimit: true, // allow "more" link when too many events
      defaultView: 'agendaDay',
      selectable: true,   //permite sa selectezi mai multe zile
      selectHelper: true,  //coloreaza selctia ta
  
  
      eventClick:  function(event, jsEvent, view) {
                  $(".cont").show();
                  $( "#edit" ).click(function(e) {
                       e.preventDefault();
                       alert(event._id);
                       event.title = $("#required-input").val();
                       $('#calendar').fullCalendar('updateEvent', event);
                       $(".cont").hide();
                  });
  
          //  event.title = "CLICKED!";
  
  
      },
      select: function(start, end, allDay)  
              {
  
                      var title = "test"
                      if(title)
                      {
                              calendar.fullCalendar('renderEvent',
                                  {
                                      title: title,
                                      start: start,
                                      end: end,
                                      //allDay: allDay
                                  },
  
                          true // make the event "stick"
                          );
                      }   
  
  
                  calendar.fullCalendar('unselect');  
              },
  
       events: [
          {
  
              title  : 'titleEvent',
              start  : '2014-11-12',
               allDay : false // will make the time show
          },
  
      ]        
  
    });
  
  });
  </code></pre>
  
  <p>Unfortunately at this time to edit all events, I just want the current event.</p>
  
  <p>The reason this happens? Because button click?</p>
  
  <p>I put an alert and run twice, you can test the link above and see more clearly.</p>
  
  <p>Thanks in advance!</p>