diff --git a/application/admin/views/scripts/data/md-dataset.phtml b/application/admin/views/scripts/data/md-dataset.phtml index bab943bf..3d64e005 100644 --- a/application/admin/views/scripts/data/md-dataset.phtml +++ b/application/admin/views/scripts/data/md-dataset.phtml @@ -46,7 +46,7 @@ function updateDataSet(){ $.ajax({ 'type':"POST", 'url':'/admin/data/dataset', - 'data':'ac=update&uuid=uuid ?>&host='+$('#host').val()+'&path='+$('#path').val(), + 'data':'ac=update&uuid=uuid ?>&host='+$('#host').val()+'&path='+$('#path').val()+'&lang='+$("input[type='radio'][name='lang']:checked").val(), 'success':function(data){ if (typeof(data)=='object') { @@ -72,7 +72,7 @@ function addDataSet(){ $.ajax({ 'type':"POST", 'url':'/admin/data/dataset', - 'data':'ac=add&uuid=uuid ?>&host='+$('#host').val()+'&path='+$('#path').val(), + 'data':'ac=add&uuid=uuid ?>&host='+$('#host').val()+'&path='+$('#path').val()+'&lang='+$("input[type='radio'][name='lang']:checked").val(), 'success':function(data){ if (typeof(data)=='object') {