Loading public/javascript/app/redmicConfig.js +2 −4 Original line number Diff line number Diff line Loading @@ -3,9 +3,6 @@ define([], function() { // Configuraciones y valores globales. var retObj = { 'numMaxView': 10, 'apiVersion': 1, 'pathSeparator': '/', 'siteKeyReCaptcha': '6LfA6_0SAAAAACT3i8poH1NqztZCtIW1OahT0cXs', 'siteKeyForDebugReCaptcha': '6LeIxAcTAAAAAJcZVRqyHh71UMIEGNQ_MXjiZKhI', 'googleAnalyticsId': 'G-J753HC86F0' Loading Loading @@ -567,7 +564,8 @@ define([], function() { return true; } var pathSplitted = path.split(this.pathSeparator), var pathSeparator = '/', pathSplitted = path.split(pathSeparator), ancestorPath = pathSplitted[0]; return this.outerPaths.indexOf(ancestorPath) !== -1; Loading public/javascript/redmic/modules/app/ModuleStore.js +6 −1 Original line number Diff line number Diff line Loading @@ -27,6 +27,9 @@ define([ // Mantiene varios módulos precargados y va limpiando los más antiguos al // alcanzar el límite máximo de instancias. // maxInstances: Integer // Número máximo de módulos de vistas instanciados, para destruir los más antiguos cuando se alcance el // límite establecido. // moduleStore: Object // Almacén con los módulos en los que el usuario tiene permisos // parameterRegExp: RegExp Loading @@ -52,6 +55,8 @@ define([ // mediator params ownChannel: "moduleStore", maxInstances: 10, viewSeparator: "/", parameterRegExp: "([\-a-zA-Z0-9_\+=]+)", Loading Loading @@ -376,7 +381,7 @@ define([ }); // Si no hemos llegado al límite, no limpiamos if (instantiatedModules.length <= redmicConfig.numMaxView) { if (instantiatedModules.length <= this.maxInstances) { return; } Loading Loading
public/javascript/app/redmicConfig.js +2 −4 Original line number Diff line number Diff line Loading @@ -3,9 +3,6 @@ define([], function() { // Configuraciones y valores globales. var retObj = { 'numMaxView': 10, 'apiVersion': 1, 'pathSeparator': '/', 'siteKeyReCaptcha': '6LfA6_0SAAAAACT3i8poH1NqztZCtIW1OahT0cXs', 'siteKeyForDebugReCaptcha': '6LeIxAcTAAAAAJcZVRqyHh71UMIEGNQ_MXjiZKhI', 'googleAnalyticsId': 'G-J753HC86F0' Loading Loading @@ -567,7 +564,8 @@ define([], function() { return true; } var pathSplitted = path.split(this.pathSeparator), var pathSeparator = '/', pathSplitted = path.split(pathSeparator), ancestorPath = pathSplitted[0]; return this.outerPaths.indexOf(ancestorPath) !== -1; Loading
public/javascript/redmic/modules/app/ModuleStore.js +6 −1 Original line number Diff line number Diff line Loading @@ -27,6 +27,9 @@ define([ // Mantiene varios módulos precargados y va limpiando los más antiguos al // alcanzar el límite máximo de instancias. // maxInstances: Integer // Número máximo de módulos de vistas instanciados, para destruir los más antiguos cuando se alcance el // límite establecido. // moduleStore: Object // Almacén con los módulos en los que el usuario tiene permisos // parameterRegExp: RegExp Loading @@ -52,6 +55,8 @@ define([ // mediator params ownChannel: "moduleStore", maxInstances: 10, viewSeparator: "/", parameterRegExp: "([\-a-zA-Z0-9_\+=]+)", Loading Loading @@ -376,7 +381,7 @@ define([ }); // Si no hemos llegado al límite, no limpiamos if (instantiatedModules.length <= redmicConfig.numMaxView) { if (instantiatedModules.length <= this.maxInstances) { return; } Loading