anchor.diff:    registerPopover: (name, callback) =>
       @popovers[name] = callback
   
  +  editable: (id) =>
  +    @container.find(".<%= SmartListing.config.classes(:editable) %>[data-<%= SmartListing.config.data_attributes(:id) %>=#{id}]")
  +
     #################################################################################################
     # Methods executed by rails UJS:
   
  
positive.code:     # No need to do anything here, already handled by ajax:success handler
  
    remove: (id) =>
      editable = @container.find(".<%= SmartListing.config.classes(:editable) %>[data-<%= SmartListing.config.data_attributes(:id) %>=#{id}]").first()
      editable.remove()
  
      @container.trigger("smart_listing:remove", editable)
  
negative.code:     @fadeLoaded()
  
    update: (id, success, content) =>
      editable = @editable(id)
      if success
        editable.removeClass('<%= SmartListing.config.classes(:inline_editing) %>')
        editable.removeData('<%= SmartListing.config.data_attributes(:inline_edit_backup) %>')
  