Ugrade jquery.editable.js to version 1.7.3

This commit is contained in:
Michael RICOIS 2013-11-20 16:40:21 +00:00
parent c1fc12deaf
commit 76945f3b39

View File

@ -1,7 +1,7 @@
/*
* Jeditable - jQuery in place edit plugin
*
* Copyright (c) 2006-2009 Mika Tuupola, Dylan Verheul
* Copyright (c) 2006-2013 Mika Tuupola, Dylan Verheul
*
* Licensed under the MIT license:
* http://www.opensource.org/licenses/mit-license.php
@ -15,7 +15,7 @@
*/
/**
* Version 1.7.2-dev
* Version 1.7.3
*
* ** means there is basic unit tests for this parameter.
*
@ -452,8 +452,8 @@
text: {
element : function(settings, original) {
var input = $('<input />');
if (settings.width != 'none') { input.attr('width', settings.width); }
if (settings.height != 'none') { input.attr('height', settings.height); }
if (settings.width != 'none') { input.width(settings.width); }
if (settings.height != 'none') { input.height(settings.height); }
/* https://bugzilla.mozilla.org/show_bug.cgi?id=236791 */
//input[0].setAttribute('autocomplete','off');
input.attr('autocomplete','off');