diff --git a/resources/www/prod/js/components/editor/record-editor.js b/resources/www/prod/js/components/editor/record-editor.js index 5f7ffdfc67..7a1c423187 100644 --- a/resources/www/prod/js/components/editor/record-editor.js +++ b/resources/www/prod/js/components/editor/record-editor.js @@ -105,7 +105,13 @@ var recordEditorModule = (function (p4) { $('body').append('
'); - _edit_select_all(); + // if is a group, only select the group + if (p4.edit.what === 'GRP') { + _toggleGroupSelection(); + } else { + _edit_select_all(); + } + $('.previewTips, .DCESTips, .fieldTips', p4.edit.editBox).tooltip({ fixable: true, @@ -337,6 +343,12 @@ var recordEditorModule = (function (p4) { } } + function _toggleGroupSelection() { + var groupIndex = 0; + edit_clk_editimg(false, groupIndex); + + } + function _preset_paint(data) { $(".EDIT_presets_list", p4.edit.editBox).html(data.html); $(".EDIT_presets_list A.triangle").click(