Fix in translations
This commit is contained in:
parent
4fc6e59885
commit
c108fefe15
1 changed files with 4 additions and 2 deletions
|
|
@ -34,10 +34,12 @@ ${csrf_token("csrf_token")|n}
|
||||||
|
|
||||||
url="${make_admin_url('lang/translations',{'module_admin': selected_module, 'op': '1'})}";
|
url="${make_admin_url('lang/translations',{'module_admin': selected_module, 'op': '1'})}";
|
||||||
|
|
||||||
data=$(this).serializeArray().reduce(function(obj, item) {
|
/*data=$(this).serializeArray().reduce(function(obj, item) {
|
||||||
obj[item.name] = item.value;
|
obj[item.name] = item.value;
|
||||||
return obj;
|
return obj;
|
||||||
}, {});
|
}, {});*/
|
||||||
|
|
||||||
|
data=$(this).serialize()
|
||||||
|
|
||||||
$.ajax({
|
$.ajax({
|
||||||
type: "POST",
|
type: "POST",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue