diff --git a/web/pgadmin/static/js/slickgrid/editors.js b/web/pgadmin/static/js/slickgrid/editors.js index 7652bf3..ccd9167 100644 --- a/web/pgadmin/static/js/slickgrid/editors.js +++ b/web/pgadmin/static/js/slickgrid/editors.js @@ -3,961 +3,970 @@ * @module Editors * @namespace Slick */ - -(function($) { - // register namespace - $.extend(true, window, { - 'Slick': { - 'Editors': { - 'pgText': pgTextEditor, - 'JsonText': JsonTextEditor, - 'CustomNumber': CustomNumberEditor, - 'Checkbox': pgCheckboxEditor, - // Below editor will read only editors, Just to display data - 'ReadOnlyText': ReadOnlyTextEditor, - 'ReadOnlyCheckbox': ReadOnlyCheckboxEditor, - 'ReadOnlypgText': ReadOnlypgTextEditor, - 'ReadOnlyJsonText': ReadOnlyJsonTextEditor, +define([ + 'sources/slickgrid/resize_editor', +], +function (resizeEditor) { + + (function($) { + // register namespace + $.extend(true, window, { + 'Slick': { + 'Editors': { + 'pgText': pgTextEditor, + 'JsonText': JsonTextEditor, + 'CustomNumber': CustomNumberEditor, + 'Checkbox': pgCheckboxEditor, + // Below editor will read only editors, Just to display data + 'ReadOnlyText': ReadOnlyTextEditor, + 'ReadOnlyCheckbox': ReadOnlyCheckboxEditor, + 'ReadOnlypgText': ReadOnlypgTextEditor, + 'ReadOnlyJsonText': ReadOnlyJsonTextEditor, + }, }, - }, - }); - - // return wrapper element - function getWrapper() { - return $('
'); - } - - // return textarea element - function getTextArea() { - return $('