![]() |
Admin 10/3/2016 |
Here is an example of opening Add page in popup from button's code, closing it on Save button click and refreshing the List page after that so new record can be seen:
window.popup = Runner.displayPopup( {
$pageObject->setProxyValue('saved', true);
if ( (proxy['saved'] ) && window.parent && window.parent.popup ) { |
A
|
andreas.knab author 10/3/2016 |
Here is an example of opening Add page in popup from button's code, closing it on Save button click and refreshing the List page after that so new record can be seen:
window.popup = Runner.displayPopup( {
$pageObject->setProxyValue('saved', true);
if ( (proxy['saved'] ) && window.parent && window.parent.popup ) {
|
![]() |
Admin 10/3/2016 |
Your question doesn't really make sense in the way it is asked. On View page there is no 'Save' button so it is not clear what you trying to achieve. |
A
|
andreas.knab author 10/4/2016 |
Hi Sergey, thx for your example..it works fine. Unfortunately it isn't working (popup is still not closing) when using my question above. Is there maybe something I need to Change when transporting the ID in the URL like : "customers_view.php?editid1="+result["CustomerID"], Or is it because in code was added to the Client after tab...or other reasons...???? Thx Andreas
|
![]() |
Admin 10/4/2016 |
Check #1 code again, you are not using the code I posted here, var win vs window.popup |