Merge branch 'master' of bitbucket.org:jamkazam/jam-web
This commit is contained in:
commit
10a8296ae5
|
|
@ -112,10 +112,16 @@
|
|||
|
||||
if(currentVersion == null || currentVersion.indexOf("Compiled") > -1) {
|
||||
// this is a developer build; it doesn't make much sense to do an packaged update, so skip
|
||||
logger.debug("skipping client update check because this is a development build")
|
||||
logger.debug("skipping client update check because this is a development build ('" + currentVersion + "')")
|
||||
return;
|
||||
}
|
||||
|
||||
// # strange client oddity: remove quotes, if found, from start and finish of version.
|
||||
if(currentVersion.indexOf('"') == 0 && currentVersion.lastIndexOf('"') == currentVersion.length -1 ) {
|
||||
currentVersion = currentVersion.substring(1, currentVersion.length - 1);
|
||||
}
|
||||
|
||||
|
||||
$.ajax({
|
||||
type: "GET",
|
||||
url: "/api/versioncheck?product=" + product + "&os=" + os,
|
||||
|
|
|
|||
Loading…
Reference in New Issue