This topic is locked
[SOLVED]

Runner.displayPopup in version11.3

11/13/2026 08:12:46
PHPRunner General questions
francesco author

Hi everyone,

After importing my PHPRunner 10.91 project into version 11.3, all buttons that open other pages using code like this in Client After have stopped working:

Runner.displayPopup({
url: "macchina_list.php",
width: 900,
height: 900,
header: "Elenco macchine"
});
return false;

Everything worked correctly in 10.91. Has anything changed in Runner.displayPopup() or button event handling? Is any code adjustment required after importing?

C
Chris Whitehead 11/13/2026

I dropped your code into a v11.3 project, built it and the popup displayed so it's not your popup syntax.

I would think the issue is going to be an error in the javascript which is breaking the modals, if you click "CTRL" + "SHIFT" + "C" all at the same time then click console, if you have any errors in here then I suspect that is your issue.

I was getting something like that when the edit pages stopped opening in a modal.

Sergey Kornilov admin 11/13/2026

If you have a Javascript error on the page it will affect all other Javascript code, including popups. Check for Javascript errors in Developers Console.

francesco author 11/14/2026

I have no errors in the console, and other buttons that have both Server code and Client After code don’t work either. The same code worked in 10.9.
Standard PHPRunner buttons work correctly. Calling Runner.displayPopup(...) manually from the console opens the popup correctly, so the function is fine and the button event doesn’t seem to run.

C
Chris Whitehead 11/15/2026

If you have inspector open on the console view and refresh the page, does this show any errors?

francesco author 11/15/2026

I found that buttons work normally on other pages, and only two pages have the problem. The only error I see in the console is the one in the attached screenshot (Permissions policy violation: unload is not allowed in this document), but it also appears almost everywhere, including pages where I don’t have the problem. What should I check at this point?

img alt

Sergey Kornilov admin 11/15/2026

According to your screenshot you are looking at messages while you need to check errors.

francesco author 11/15/2026

I have solved with the function RESET ALL PAGE in Style section. Probably was a problem with html

C
Chris Whitehead 11/18/2026

Glad you've sorted it, I see the unload a lot, not sure what that's related to.