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
`function HandlePopup()
{
var returnValue = window.showModalDialog(url [,args,opt]);
return returnValue != "--cancel--";
}`
So, in this example, what happens is that when performing the eval, I observe that the function declaration is eliminated, preventing a value from being returned.
I depend on the boolean result to continue, I have no other way.
How can I fix this situation?
The text was updated successfully, but these errors were encountered:
I have a function like this:
`function HandlePopup()
{
var returnValue = window.showModalDialog(url [,args,opt]);
return returnValue != "--cancel--";
}`
So, in this example, what happens is that when performing the eval, I observe that the function declaration is eliminated, preventing a value from being returned.
I depend on the boolean result to continue, I have no other way.
How can I fix this situation?
The text was updated successfully, but these errors were encountered: