1
0
Fork 0

Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel

This commit is contained in:
Michael Hackstein 2014-06-18 17:16:48 +02:00
commit b0f176c37a
1 changed files with 5 additions and 2 deletions

View File

@ -9,6 +9,7 @@
url: "/_admin/aardvark/disableVersionCheck"
});
};
var isVersionCheckEnabled = function(cb) {
$.ajax({
type: "GET",
@ -62,8 +63,10 @@
window.versionHelper.fromString(data.version);
window.parseVersions = function (json) {
if (_.isEmpty(json)) {
//No new version.
return;
return; // no new version.
}
if (/-devel$/.test(data.version)) {
return; // ignore version in devel
}
isVersionCheckEnabled(showInterface.bind(window, currentVersion, json));
};