diff --git a/static/plugin_dbui/src/form/field/Dict.js b/static/plugin_dbui/src/form/field/Dict.js index ec0eb91dd50f8ebc0cc8438e7f8881abdab494ea..0cdeed97eb8c11877008c915ebfbdfe389678abd 100644 --- a/static/plugin_dbui/src/form/field/Dict.js +++ b/static/plugin_dbui/src/form/field/Dict.js @@ -1,21 +1,3 @@ -/** - * Extend the default type for Ext.grid.column in order to render JSON object. - * - * @since 0.4.15.0 - * - */ -Ext.define('Ext.grid.JsonColumn', { - - extend: 'Ext.grid.column.Column', - alias: 'widget.jsoncolumn', - - constructor: function () { - - this.renderer = JSON.stringify; - this.callParent(arguments); - } -}); - /** * The Dict widget is an Ext.grid.PropertyGrid which is associated * to a JSON database field. It can be embedded in Ext.form.Panel. diff --git a/static/plugin_dbui/src/grid/JsonColumn.js b/static/plugin_dbui/src/grid/JsonColumn.js new file mode 100644 index 0000000000000000000000000000000000000000..74dd6c2b02b90714bc62bb4ef63fa309384fefeb --- /dev/null +++ b/static/plugin_dbui/src/grid/JsonColumn.js @@ -0,0 +1,17 @@ +/** + * Extend the default type for Ext.grid.column in order to render JSON object. + * + * @since 0.4.15.0 + * + */ +Ext.define('Ext.grid.JsonColumn', { + + extend: 'Ext.grid.column.Column', + alias: 'widget.jsoncolumn', + + constructor: function () { + + this.renderer = JSON.stringify; + this.callParent(arguments); + } +});