From 6f64e6ada12af82d3c04f23f903111446ce891a5 Mon Sep 17 00:00:00 2001 From: Danny Herran Date: Sat, 13 Oct 2012 00:28:30 -0430 Subject: [PATCH] Added type attribute to the default input field Default input text field didn't have the type attribute defined. This caused problems with Bootstrap and several CSS styles that needed the type="text" explicitly defined. --- jquery.jeditable.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jquery.jeditable.js b/jquery.jeditable.js index eb8a911..220be75 100644 --- a/jquery.jeditable.js +++ b/jquery.jeditable.js @@ -451,7 +451,7 @@ }, text: { element : function(settings, original) { - var input = $(''); + var input = $(''); if (settings.width != 'none') { input.attr('width', settings.width); } if (settings.height != 'none') { input.attr('height', settings.height); } /* https://bugzilla.mozilla.org/show_bug.cgi?id=236791 */