Loading public/javascript/app/designs/details/main/ActivityMap.js +14 −9 Original line number Diff line number Diff line Loading @@ -32,7 +32,8 @@ define([ propsWidget: { omitTitleBar: true, resizable: false } }, targetReplaceParameter: 'id' }; lang.mixin(this, this.config, args); Loading @@ -40,7 +41,7 @@ define([ _setMainConfigurations: function() { this.targetChange = lang.replace(this.templateTargetChange, {id: this.pathVariableId}); this._replacePathVariableIdInTarget(); this.widgetConfigs = this._merge([{ geographic: { Loading Loading @@ -87,6 +88,14 @@ define([ }, this.layerConfig || {}]); }, _replacePathVariableIdInTarget: function() { var replaceObj = {}; replaceObj[this.targetReplaceParameter] = this.pathVariableId; this.targetChange = lang.replace(this.templateTargetChange, replaceObj); }, _initialize: function() { if (!this.definitionLayer) { Loading Loading @@ -142,15 +151,15 @@ define([ _refreshModules: function() { this._checkPathVariableId(); /*this._checkPathVariableId(); this._emitEvt('GET', { target: this.target, requesterId: this.ownChannel, id: this.pathVariableId }); });*/ this.targetChange = lang.replace(this.templateTargetChange, {id: this.pathVariableId}); this._replacePathVariableIdInTarget(); this.layerInstance && this._publish(this.layerInstance.getChannel("CHANGE_TARGET"), { target: this.targetChange Loading @@ -163,10 +172,6 @@ define([ }); }, _itemAvailable: function(response) { }, _getPopupContent: function(data) { return this.templatePopup({ Loading Loading
public/javascript/app/designs/details/main/ActivityMap.js +14 −9 Original line number Diff line number Diff line Loading @@ -32,7 +32,8 @@ define([ propsWidget: { omitTitleBar: true, resizable: false } }, targetReplaceParameter: 'id' }; lang.mixin(this, this.config, args); Loading @@ -40,7 +41,7 @@ define([ _setMainConfigurations: function() { this.targetChange = lang.replace(this.templateTargetChange, {id: this.pathVariableId}); this._replacePathVariableIdInTarget(); this.widgetConfigs = this._merge([{ geographic: { Loading Loading @@ -87,6 +88,14 @@ define([ }, this.layerConfig || {}]); }, _replacePathVariableIdInTarget: function() { var replaceObj = {}; replaceObj[this.targetReplaceParameter] = this.pathVariableId; this.targetChange = lang.replace(this.templateTargetChange, replaceObj); }, _initialize: function() { if (!this.definitionLayer) { Loading Loading @@ -142,15 +151,15 @@ define([ _refreshModules: function() { this._checkPathVariableId(); /*this._checkPathVariableId(); this._emitEvt('GET', { target: this.target, requesterId: this.ownChannel, id: this.pathVariableId }); });*/ this.targetChange = lang.replace(this.templateTargetChange, {id: this.pathVariableId}); this._replacePathVariableIdInTarget(); this.layerInstance && this._publish(this.layerInstance.getChannel("CHANGE_TARGET"), { target: this.targetChange Loading @@ -163,10 +172,6 @@ define([ }); }, _itemAvailable: function(response) { }, _getPopupContent: function(data) { return this.templatePopup({ Loading