|
|
@ -212,7 +212,7 @@ export default function ControlApprovalsContainer({ mode }) { |
|
|
|
window.screenY + window.outerHeight / 2 - popupHeight / 2 |
|
|
|
window.screenY + window.outerHeight / 2 - popupHeight / 2 |
|
|
|
); |
|
|
|
); |
|
|
|
const option = `width=${popupWidth},height=${popupHeight},left=${popupX},top=${popupY}`; |
|
|
|
const option = `width=${popupWidth},height=${popupHeight},left=${popupX},top=${popupY}`; |
|
|
|
popupRef.current = window.open('/rightMenu', 'NewWindow', option); |
|
|
|
popupRef.current = window.open('/control/rightMenu', 'NewWindow', option); |
|
|
|
// setPopupOption(option);
|
|
|
|
// setPopupOption(option);
|
|
|
|
setPopup(popupRef.current); |
|
|
|
setPopup(popupRef.current); |
|
|
|
}; |
|
|
|
}; |
|
|
|