mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 15:03:25 +00:00
apply PHRAS-1016
This commit is contained in:
@@ -105,7 +105,13 @@ var recordEditorModule = (function (p4) {
|
||||
$('body').append('<div id="editcontextwrap"></div>');
|
||||
|
||||
|
||||
_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(
|
||||
|
Reference in New Issue
Block a user