diff --git a/app/assets/javascripts/app/controllers/_application_controller_generic.js.coffee b/app/assets/javascripts/app/controllers/_application_controller_generic.js.coffee index d2e9699ec..7599929d6 100644 --- a/app/assets/javascripts/app/controllers/_application_controller_generic.js.coffee +++ b/app/assets/javascripts/app/controllers/_application_controller_generic.js.coffee @@ -1,8 +1,3 @@ -$.fn.item = (genericObject) -> - elementID = $(@).data('id') - elementID or= $(@).parents('[data-id]').data('id') - genericObject.find(elementID) - class App.ControllerGenericNew extends App.ControllerModal constructor: (params) -> super