mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-18 15:33:15 +00:00
apply PHRAS-1016
This commit is contained in:
@@ -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(
|
||||||
|
Reference in New Issue
Block a user