You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unfortunately, Applicationize doesn't support JS popup windows all-too-well currently, and it is in low-priority to fix this as Chrome Packaged Apps are being deprecated.
Please consider this alternative solution baked into Chrome which handles JS popups well: #25 (comment)
My application uses a window.close(), which doesn't work when the application is run through applicationize me. The failing code is below:
--
|$("#clickUpdate").click(function(){
| editS1();
| if(error=="false") {
| document.S1.MODE.value = "UPD";
| document.S1.submit();
| return true;
| }
| });
|
| $( "#clickClose" ).click(function() {
| if(changeflg=="true") {
| confirmChgs();
| if(save=="true") {
| document.S1.MODE.value = "UPD";
| document.S1.submit();
| return true;
| }
| else {
| // Record Will Only Be Locked If Save Button Is Enabled.
| if ($('#clickUpdate').is(':disabled') == false) {
| unlock();
| window.opener.clickRefresh();
| }
| window.close();
| return;
| }
| }
| else {
| // Record Will Only Be Locked If Save Button Is Enabled.
| if ($('#clickUpdate').is(':disabled') == false) {
| unlock();
| window.opener.clickRefresh();
| }
| window.close();
| return;
| }
| });
|
| });
The text was updated successfully, but these errors were encountered: