Use json by default for js library

This commit is contained in:
Yann Esposito (Yogsototh) 2010-04-21 16:51:50 +02:00
parent d30255ce8b
commit b7c57b4ad3

View file

@ -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