IE error when opening link in new tab from Navigation menu

0
Hi, Our users have asked to add a link on the Navigation menu that should open a URL in a new tab. The URL needs to be configurable. I have added a Nanoflow on the click of the Navigation menu item, which calls a JavaScript code. The Nanoflow fetches the URL from Configuration entity and JavaScript opens the URL with below code. return Promise.resolve(window.open(url, '_blank')).then(function(){ return true; }); The JavaScript code is working fine for Chrome, but throws an error for IE and Edge. Could anyone suggest a solution or a different approach for this problem? Thanks, Paramdeep   Edit: Error logs. Access is denied. Error: Access is denied. at e.exports (http://localhost:8080/mxclientsystem/mxui/mxui.js?637170174462471742:52:55392) at resolve (http://localhost:8080/mxclientsystem/mxui/mxui.js?637170174462471742:52:198290) at JavaScript_OpenURL (http://localhost:8080/javascript-actions/MyFirstModule.bundle.js?637170174462471742:14:2) at Anonymous function (http://localhost:8080/mxclientsystem/mxui/mxui.js?637170174462471742:46:111592) at Anonymous function (http://localhost:8080/mxclientsystem/mxui/mxui.js?637170174462471742:20:1724) at Anonymous function (http://localhost:8080/mxclientsystem/mxui/mxui.js?637170174462471742:20:1037) at a (http://localhost:8080/mxclientsystem/mxui/mxui.js?637170174462471742:20:600) at Anonymous function (http://localhost:8080/mxclientsystem/mxui/mxui.js?637170174462471742:52:195955) at r (http://localhost:8080/mxclientsystem/mxui/mxui.js?637170174462471742:52:199081)  
asked
1 answers
0

Sounds like you are running into a bug of the mxui. You can raise a ticket at support.mendix.com, but if you are in the position to upgrade to a higher Mendix-version, then please do so. Chances are that this bug is gone in 8.6. It is at least worth giving it a testrun in a 8.6-sandbox.

answered