Project

General

Profile

Defect #1570

Error when running in Electron

Added by Paul Bromwell almost 4 years ago. Updated almost 4 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Start date:
07/02/2020
Due date:
% Done:

0%

Estimated time:
Browser (if web client):

Description

Similar issue to #1238 but I'm getting a different error.

Uncaught TypeError: window.opener.location.reload is not a function

Exception is thrown in this block:

success: function() {
    if (window.opener)
        window.opener.location.reload();
    window.close();
}

History

#1

Updated by Patrick Talbot almost 4 years ago

  • Status changed from New to Resolved

Check out v1.0.11 where I've secured this call.
Make sure you update the jqfu folder in your server/webapps/ROOT/

#2

Updated by Paul Bromwell almost 4 years ago

Hey Patrick!

Sorry to be a pain, but v1.0.11 is throwing the same error. I see the fix in the jqfu uploader.html file, however, the one inside the JAR doesn't have the fix.

If it helps, here's the path of the file that still has the issue: http://localhost:8080/servoy-service/multifile/uploader.html

Let me know if there's any more information I can provide to help assist you with this error.

#3

Updated by Patrick Talbot almost 4 years ago

Sorry, I had forgot the uploader.html file called by the plugin was the one in the jar!
I've fixed this one as well in v1.0.12, hopefully this fixes it for you, get it from the Files section

Also available in: Atom PDF