diff --git a/js/app/map/contextmenu.js b/js/app/map/contextmenu.js index 8a8df816..aa8ec617 100644 --- a/js/app/map/contextmenu.js +++ b/js/app/map/contextmenu.js @@ -4,7 +4,7 @@ define([ 'jquery', - 'app/render'- + 'app/render' ], ($, Render) => { 'use strict'; diff --git a/public/js/v1.4.1/app/map/contextmenu.js b/public/js/v1.4.1/app/map/contextmenu.js index 1b1f0cfd..aa8ec617 100644 --- a/public/js/v1.4.1/app/map/contextmenu.js +++ b/public/js/v1.4.1/app/map/contextmenu.js @@ -4,7 +4,7 @@ define([ 'jquery', - 'app/render', + 'app/render' ], ($, Render) => { 'use strict'; diff --git a/public/js/v1.4.1/app/map/util.js b/public/js/v1.4.1/app/map/util.js index bdc500dc..954f3fa1 100644 --- a/public/js/v1.4.1/app/map/util.js +++ b/public/js/v1.4.1/app/map/util.js @@ -706,6 +706,11 @@ define([ }); }; + /** + * performs a new route search -> trigger route panel + * @param mapContainer + * @param systemToData + */ let findRoute = (mapContainer, systemToData) => { getTabContentElementByMapElement(mapContainer).trigger('pf:updateRouteModules', { task: 'findRoute', diff --git a/public/js/v1.4.1/app/page.js b/public/js/v1.4.1/app/page.js index c3a60408..70cd2853 100644 --- a/public/js/v1.4.1/app/page.js +++ b/public/js/v1.4.1/app/page.js @@ -1164,6 +1164,9 @@ define([ }; + /** + * add "hidden" context menu elements to page + */ let initMapContextMenus = () => { $('#' + config.dynamicElementWrapperId).append( MapContextMenu.initMapContextMenu(),