diff --git a/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/js/archiva/archiva.js b/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/js/archiva/archiva.js index 654e63290..3dff3e792 100644 --- a/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/js/archiva/archiva.js +++ b/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/js/archiva/archiva.js @@ -22,7 +22,7 @@ appendArchivaVersion=function(){ }; timestampNoCache=function(){ - if (window.archivaRuntimeInfo.version.match("SNAPSHOT$")){ + if (window.archivaRuntimeInfo.version && window.archivaRuntimeInfo.version.match("SNAPSHOT$")){ return "&archivaTimestamp="+window.archivaRuntimeInfo.timestamp+(window.archivaRuntimeInfo.devMode?"&_="+jQuery.now():""); } return "";