修正获取radio值的js
This commit is contained in:
parent
abc95dd01c
commit
224050096e
|
@ -46,7 +46,7 @@ function updateDataSet(){
|
|||
$.ajax({
|
||||
'type':"POST",
|
||||
'url':'/admin/data/dataset',
|
||||
'data':'ac=update&uuid=<?= $this->uuid ?>&host='+$('#host').val()+'&path='+$('#path').val(),
|
||||
'data':'ac=update&uuid=<?= $this->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=<?= $this->uuid ?>&host='+$('#host').val()+'&path='+$('#path').val(),
|
||||
'data':'ac=add&uuid=<?= $this->uuid ?>&host='+$('#host').val()+'&path='+$('#path').val()+'&lang='+$("input[type='radio'][name='lang']:checked").val(),
|
||||
'success':function(data){
|
||||
if (typeof(data)=='object')
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue