Fix expand after drag
This commit is contained in:
parent
0290916035
commit
b506a17260
|
@ -378,7 +378,7 @@ jQuery(function () {
|
||||||
});
|
});
|
||||||
|
|
||||||
$(document).on('click', '.editor_maximize', function () {
|
$(document).on('click', '.editor_maximize', function () {
|
||||||
const broId = $(this).data('for');
|
const broId = $(this).attr('data-for');
|
||||||
const bro = $(`#${broId}`);
|
const bro = $(`#${broId}`);
|
||||||
|
|
||||||
if (!bro.length) {
|
if (!bro.length) {
|
||||||
|
|
|
@ -691,7 +691,7 @@ function saveQROrder() {
|
||||||
$(this).find('input').attr('id', `quickReply${i}Label`);
|
$(this).find('input').attr('id', `quickReply${i}Label`);
|
||||||
$(this).find('textarea').attr('id', `quickReply${i}Mes`);
|
$(this).find('textarea').attr('id', `quickReply${i}Mes`);
|
||||||
$(this).find(`#quickReply${oldOrder}CtxButton`).attr('id', `quickReply${i}CtxButton`);
|
$(this).find(`#quickReply${oldOrder}CtxButton`).attr('id', `quickReply${i}CtxButton`);
|
||||||
$(this).find(`#quickReply${oldOrder}ExpandButton`).attr('id', `quickReply${i}ExpandButton`);
|
$(this).find(`#quickReply${oldOrder}ExpandButton`).attr({ 'data-for': `quickReply${i}Mes`, 'id': `quickReply${i}ExpandButton` });
|
||||||
i++;
|
i++;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue