anchor.diff:      complete: completeWaiting,
       error: ajaxError
     });
  -  map.on('click', click);
   
     $("#dialog-geocoding").dialog({
       autoOpen: false,
       modal: true
     });
  +}
  +
  +Paloma.controller('Destination').prototype.index = function () {
  +  destinations_index(this.params);
   };
  
positive.code:   }
  
  
    function click(mouseEvent) {
      if (pointing) {
        var id = pointing;
        if (id in markers) {
  
negative.code: 
    function update(destination_id, destination) {
      var row = $('[data-destination_id=' + destination_id + ']');
      $('[name=destination\\[name\\]]', row).val(destination.name);
      $('[name=destination\\[street\\]]', row).val(destination.street);
      $('[name=destination\\[postalcode\\]]', row).val(destination.postalcode);
      $('[name=destination\\[city\\]]', row).val(destination.city);
      $('[name=destination\\[lat\\]]', row).val(destination.lat);
      $('[name=destination\\[lng\\]]', row).val(destination.lng);
      marker.setLatLng(new L.LatLng(destination.lat, destination.lng));
      map.setView(marker.getLatLng(), 16);
      row = $('[data-destination_id=' + destination_id + ']');
  