Fix error with timezone charts for SCM panels
Change-Id: If662ba3743ec03129b8aaa7bc04e0a58736f1a60
This commit is contained in:
parent
8b100eb15b
commit
41572bb145
|
@ -49,8 +49,16 @@ var Timezones = {};
|
|||
};
|
||||
|
||||
function loadTimeZonesData (ds_name, cb) {
|
||||
var json_file,
|
||||
release_name;
|
||||
suffix = ds_name.toLowerCase();
|
||||
var json_file = "data/json/" + suffix + "-timezone.json";
|
||||
//var json_file = "data/json/" + suffix + "-timezone.json";
|
||||
if (Utils.isReleasePage() === true){
|
||||
release_name = $.urlParam('release');
|
||||
json_file = "data/json/" + release_name + '/' + suffix + "-timezone.json";
|
||||
}else{
|
||||
json_file = "data/json/" + suffix + "-timezone.json";
|
||||
}
|
||||
$.when($.getJSON(json_file)
|
||||
).done(function(json_data) {
|
||||
data_tz = json_data;
|
||||
|
|
Loading…
Reference in New Issue