diff --git a/addons/web/__openerp__.py b/addons/web/__openerp__.py index 822d2fa3cbf..8c2a8fa0909 100644 --- a/addons/web/__openerp__.py +++ b/addons/web/__openerp__.py @@ -38,6 +38,7 @@ This module provides the core of the OpenERP Web Client. "static/lib/backbone/backbone.js", "static/lib/cleditor/jquery.cleditor.js", "static/lib/py.js/lib/py.js", + "static/lib/jquery.autosize/jquery.autosize.js", "static/src/js/boot.js", "static/src/js/corelib.js", "static/src/js/coresetup.js", diff --git a/addons/web/static/lib/jquery.autosize/jquery.autosize.js b/addons/web/static/lib/jquery.autosize/jquery.autosize.js new file mode 100644 index 00000000000..29729d2fd42 --- /dev/null +++ b/addons/web/static/lib/jquery.autosize/jquery.autosize.js @@ -0,0 +1,160 @@ +// Autosize 1.10 - jQuery plugin for textareas +// (c) 2012 Jack Moore - jacklmoore.com +// license: www.opensource.org/licenses/mit-license.php + +(function ($) { + var + hidden = 'hidden', + borderBox = 'border-box', + lineHeight = 'lineHeight', + copy = '