Fix open modal
This commit is contained in:
parent
90ec43b4bd
commit
70dedaca20
@ -45,7 +45,8 @@ var deals_client = new Vue({
|
|||||||
},
|
},
|
||||||
openDealFromClient(dealId) {
|
openDealFromClient(dealId) {
|
||||||
// Закрываем модал клиента перед открытием модала сделки
|
// Закрываем модал клиента перед открытием модала сделки
|
||||||
$('#send_bg_new').hide();
|
// Используем .closer.click() как в заявках — полный сброс состояния
|
||||||
|
$('#send_bg_new .closer').click();
|
||||||
if (typeof window.editDeal === 'function') {
|
if (typeof window.editDeal === 'function') {
|
||||||
window.editDeal(0, dealId);
|
window.editDeal(0, dealId);
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user