diff --git a/pandora_console/godmode/reporting/visual_console_builder.editor.js b/pandora_console/godmode/reporting/visual_console_builder.editor.js index eb0e9b19b1..5c4bcdcb5f 100755 --- a/pandora_console/godmode/reporting/visual_console_builder.editor.js +++ b/pandora_console/godmode/reporting/visual_console_builder.editor.js @@ -1574,8 +1574,28 @@ function loadFieldsFromDB(item) { $("select[name=clock_animation]").val(val); if (key == 'time_format') $("select[name=time_format]").val(val); - if (key == 'timezone') - $("select[name=timezone]").val(val); + if (key == 'timezone') { + var zone = val.split("/"); + $("select[name=zone]").val(zone[0]); + + $.ajax({ + type: "POST", + url: "ajax.php", + data: "page=godmode/setup/setup&select_timezone=1&zone=" + zone[0], + dataType: "json", + success: function(data) { + $("#timezone").empty(); + jQuery.each (data, function (id, value) { + timezone = value; + var timezone_country = timezone.replace (/^.*\//g, ""); + $("select[name='timezone']").append($("