diff --git a/index.php b/index.php index 63a1016..90f642f 100644 --- a/index.php +++ b/index.php @@ -224,7 +224,7 @@ function displayDnssecIcon(zone) { function displayExportIcon(zone) { var $img = $(''); $img.click(function () { - var $zexport = $.getJSON("zones.php?zone="+zone.record.name+"&action=export", function(data) { + var $zexport = $.getJSON("zones.php?zoneid="+zone.record.id+"&action=export", function(data) { blob = new Blob([data.Record.zone], { type: 'text/plain' }); var dl = document.createElement('a'); dl.addEventListener('click', function(ev) {