From 2ac3d41fe56875e366716dffab806d4da48759ad Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Sat, 21 Jun 2014 23:46:24 +0200 Subject: [PATCH] Removed not needed method. --- .../controllers/_application_controller_generic.js.coffee | 5 ----- 1 file changed, 5 deletions(-) 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