mirror of
https://github.com/tuxis-ie/nsedit.git
synced 2025-05-10 23:03:57 +03:00
Switch from zone.name to zone.id
This commit is contained in:
parent
d94d1da445
commit
475bbca87b
1 changed files with 1 additions and 1 deletions
|
@ -224,7 +224,7 @@ function displayDnssecIcon(zone) {
|
||||||
function displayExportIcon(zone) {
|
function displayExportIcon(zone) {
|
||||||
var $img = $('<img class="list clickme" src="img/export.png" title="Export zone" />');
|
var $img = $('<img class="list clickme" src="img/export.png" title="Export zone" />');
|
||||||
$img.click(function () {
|
$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' });
|
blob = new Blob([data.Record.zone], { type: 'text/plain' });
|
||||||
var dl = document.createElement('a');
|
var dl = document.createElement('a');
|
||||||
dl.addEventListener('click', function(ev) {
|
dl.addEventListener('click', function(ev) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue