From 11f28eb1428575b047c53ba587ec857ad10e5b60 Mon Sep 17 00:00:00 2001 From: Bruno Medeiros Date: Wed, 10 Oct 2012 21:33:29 -0300 Subject: [PATCH] fixing bug with all textinputs (#34) --- assets/javascripts/libs/jquery.jeditable.ptext.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/assets/javascripts/libs/jquery.jeditable.ptext.js b/assets/javascripts/libs/jquery.jeditable.ptext.js index 2715e77..7b2088f 100644 --- a/assets/javascripts/libs/jquery.jeditable.ptext.js +++ b/assets/javascripts/libs/jquery.jeditable.ptext.js @@ -1,3 +1,4 @@ +(function($) { $.editable.addInputType('ptext', { element : function(settings, original) { @@ -11,3 +12,4 @@ $.editable.addInputType('ptext', { return input; } }); +})(jQuery);