From 4856f767bd58dc2ba33e3f2e33921723df9c152e Mon Sep 17 00:00:00 2001 From: wlx Date: Thu, 17 Sep 2015 16:48:49 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E8=8E=B7=E5=8F=96radio?= =?UTF-8?q?=E5=80=BC=E7=9A=84js?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/admin/views/scripts/data/md-dataset.phtml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/application/admin/views/scripts/data/md-dataset.phtml b/application/admin/views/scripts/data/md-dataset.phtml index 871964c1..437eaafd 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') {