apply PHRAS-1016

This commit is contained in:
Florian BLOUET
2016-02-29 13:03:47 +01:00
parent 0b21732911
commit 4ff3239c92

View File

@@ -105,7 +105,13 @@ var recordEditorModule = (function (p4) {
$('body').append('<div id="editcontextwrap"></div>'); $('body').append('<div id="editcontextwrap"></div>');
// if is a group, only select the group
if (p4.edit.what === 'GRP') {
_toggleGroupSelection();
} else {
_edit_select_all(); _edit_select_all();
}
$('.previewTips, .DCESTips, .fieldTips', p4.edit.editBox).tooltip({ $('.previewTips, .DCESTips, .fieldTips', p4.edit.editBox).tooltip({
fixable: true, fixable: true,
@@ -337,6 +343,12 @@ var recordEditorModule = (function (p4) {
} }
} }
function _toggleGroupSelection() {
var groupIndex = 0;
edit_clk_editimg(false, groupIndex);
}
function _preset_paint(data) { function _preset_paint(data) {
$(".EDIT_presets_list", p4.edit.editBox).html(data.html); $(".EDIT_presets_list", p4.edit.editBox).html(data.html);
$(".EDIT_presets_list A.triangle").click( $(".EDIT_presets_list A.triangle").click(