Use json by default for js library
This commit is contained in:
parent
d30255ce8b
commit
b7c57b4ad3
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@
|
|||
function general_action( type, url, params, f_ok, f_err ) {
|
||||
$.ajax({
|
||||
type: type,
|
||||
url: url,
|
||||
url: url+'.json',
|
||||
data: params,
|
||||
success: f_ok,
|
||||
error: f_err
|
||||
|
|
Loading…
Reference in a new issue