From 9c3f519c15ce7091beb6382d6abc705ae1d09f03 Mon Sep 17 00:00:00 2001 From: Mark Friedrich Date: Sun, 29 Jul 2018 22:35:47 +0200 Subject: [PATCH] - _Rally point_ destinations added to "_Route search_" module, closed #664 - fixed a bug where "click" at system does not load system information modules --- js/app/map/contextmenu.js | 2 +- public/js/v1.4.1/app/map/contextmenu.js | 2 +- public/js/v1.4.1/app/map/util.js | 5 +++++ public/js/v1.4.1/app/page.js | 3 +++ 4 files changed, 10 insertions(+), 2 deletions(-) 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(),