1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

Set apiRootUrl for debug pop-out to load locales properly

Fixes #2629, #2630
This commit is contained in:
Nick O'Leary 2020-07-07 21:14:44 +01:00
parent 11ac8fbf13
commit c9acfdb1d7
No known key found for this signature in database
GPG Key ID: 4F2157149161A6C9

View File

@ -1,5 +1,5 @@
$(function() { $(function() {
RED.i18n.init({},function() { RED.i18n.init({apiRootUrl:"../../"},function() {
var options = { var options = {
messageMouseEnter: function(sourceId) { messageMouseEnter: function(sourceId) {
window.opener.postMessage({event:"mouseEnter",id:sourceId},'*'); window.opener.postMessage({event:"mouseEnter",id:sourceId},'*');