mirror of https://gitee.com/bigwinds/arangodb
Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel
This commit is contained in:
commit
b0f176c37a
|
@ -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));
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue