Resolved a typo in the version check condition during schema generation.

Also, resolved an issue related showing the correct server variant in
properties dialog, it is a regression introduced by the patch server
version check.
This commit is contained in:
Ashesh Vashi
2015-11-20 10:45:30 +05:30
parent 5ff09223a2
commit d753374977
2 changed files with 4 additions and 3 deletions

View File

@@ -470,7 +470,7 @@
groups[group] = (groups[group] || []);
var disabled = ((mode == 'properties') ||
(server_info &&
(s.server_type && _.indexOf(server_info.type in s.server_type) == -1) ||
(s.server_type && !(server_info.type in s.server_type)) ||
(s.min_version && s.min_version < server_info.version) ||
(s.max_version && s.max_version > server_info.version)
));