Loading client-app/src/app/component/ModuleStore.js +5 −9 Original line number Diff line number Diff line Loading @@ -164,20 +164,20 @@ define([ if (category.modules) { for (var j = 0; j < category.modules.length; j++) { var moduleItem = category.modules[j]; if (moduleItem.perms && moduleItem.enable) { if (moduleItem.enable) { this._addModule(category.name + "/" + moduleItem.name, moduleItem.name, moduleItem.internPath, moduleItem.perms); moduleItem.internPath); } } } if (category.perms && category.enable) { this._addModule(category.name, category.name, category.internPath, category.perms); if (category.enable) { this._addModule(category.name, category.name, category.internPath); } } }, _addModule: function(/*String*/ id, /*String*/ name, /*String*/ internPath, /*Integer*/ perms) { _addModule: function(/*String*/ id, /*String*/ name, /*String*/ internPath) { // summary: // Añade el item con la información básica al store // tags: Loading @@ -188,8 +188,6 @@ define([ // nombre o path parcial del módulo // internPath: // ubicación del js de la vista // perms: // permisos del usuario en la vista if (this._moduleExists(id)) return; Loading @@ -197,7 +195,6 @@ define([ id: id, name: name, internPath: internPath, perms: perms, instance: null, timeStamp: null }); Loading Loading @@ -339,7 +336,6 @@ define([ var moduleInstance = new moduleDefinition({ parentChannel: parentChannel, ownChannel: this.viewSeparator + moduleObj.id, perms: moduleObj.perms, pathVariableId: this.pathVariableId !== "$1" ? this.pathVariableId : null }); Loading client-app/src/catalog/activity/ActivityCatalogView.js +0 −1 Original line number Diff line number Diff line Loading @@ -51,7 +51,6 @@ define([ reportService: "activity", target: redmicConfig.services.activity, perms: null, browserExts: [_Select] }; Loading client-app/src/catalog/program/ProgramCatalogView.js +0 −1 Original line number Diff line number Diff line Loading @@ -48,7 +48,6 @@ define([ title: this.i18n.programCatalogView, ownChannel: "programCatalog", target: redmicConfig.services.program, perms: null, idProperty: "id" }; Loading client-app/src/catalog/project/ProjectCatalogView.js +0 −1 Original line number Diff line number Diff line Loading @@ -45,7 +45,6 @@ define([ this.config = { browserExts: [_Select], target: redmicConfig.services.project, perms: null, reportService: "project", title: this.i18n.projectCatalogView, ownChannel: "projectCatalog" Loading client-app/src/component/atlas/Atlas.js +0 −1 Original line number Diff line number Diff line Loading @@ -134,7 +134,6 @@ define([ browserExts: [_HierarchicalSelect], selectionTarget: this.selectionTarget, target: this.target, perms: this.perms, classByList: '.borderList', browserConfig: { template: serviceOGCList, Loading Loading
client-app/src/app/component/ModuleStore.js +5 −9 Original line number Diff line number Diff line Loading @@ -164,20 +164,20 @@ define([ if (category.modules) { for (var j = 0; j < category.modules.length; j++) { var moduleItem = category.modules[j]; if (moduleItem.perms && moduleItem.enable) { if (moduleItem.enable) { this._addModule(category.name + "/" + moduleItem.name, moduleItem.name, moduleItem.internPath, moduleItem.perms); moduleItem.internPath); } } } if (category.perms && category.enable) { this._addModule(category.name, category.name, category.internPath, category.perms); if (category.enable) { this._addModule(category.name, category.name, category.internPath); } } }, _addModule: function(/*String*/ id, /*String*/ name, /*String*/ internPath, /*Integer*/ perms) { _addModule: function(/*String*/ id, /*String*/ name, /*String*/ internPath) { // summary: // Añade el item con la información básica al store // tags: Loading @@ -188,8 +188,6 @@ define([ // nombre o path parcial del módulo // internPath: // ubicación del js de la vista // perms: // permisos del usuario en la vista if (this._moduleExists(id)) return; Loading @@ -197,7 +195,6 @@ define([ id: id, name: name, internPath: internPath, perms: perms, instance: null, timeStamp: null }); Loading Loading @@ -339,7 +336,6 @@ define([ var moduleInstance = new moduleDefinition({ parentChannel: parentChannel, ownChannel: this.viewSeparator + moduleObj.id, perms: moduleObj.perms, pathVariableId: this.pathVariableId !== "$1" ? this.pathVariableId : null }); Loading
client-app/src/catalog/activity/ActivityCatalogView.js +0 −1 Original line number Diff line number Diff line Loading @@ -51,7 +51,6 @@ define([ reportService: "activity", target: redmicConfig.services.activity, perms: null, browserExts: [_Select] }; Loading
client-app/src/catalog/program/ProgramCatalogView.js +0 −1 Original line number Diff line number Diff line Loading @@ -48,7 +48,6 @@ define([ title: this.i18n.programCatalogView, ownChannel: "programCatalog", target: redmicConfig.services.program, perms: null, idProperty: "id" }; Loading
client-app/src/catalog/project/ProjectCatalogView.js +0 −1 Original line number Diff line number Diff line Loading @@ -45,7 +45,6 @@ define([ this.config = { browserExts: [_Select], target: redmicConfig.services.project, perms: null, reportService: "project", title: this.i18n.projectCatalogView, ownChannel: "projectCatalog" Loading
client-app/src/component/atlas/Atlas.js +0 −1 Original line number Diff line number Diff line Loading @@ -134,7 +134,6 @@ define([ browserExts: [_HierarchicalSelect], selectionTarget: this.selectionTarget, target: this.target, perms: this.perms, classByList: '.borderList', browserConfig: { template: serviceOGCList, Loading