From 52f8a69ddfa65f1592ab3714952ae6bffdca0dc6 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Mon, 30 May 2011 15:46:33 +0200 Subject: [PATCH] fix api --- static/js/pandora.api.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/js/pandora.api.js b/static/js/pandora.api.js index ca95bff5..0fa1313e 100755 --- a/static/js/pandora.api.js +++ b/static/js/pandora.api.js @@ -11,7 +11,7 @@ var app = new Ox.App({ apiURL: '/api/', init: 'init', }).bindEvent('load', function(event, data) { - app.site.= data.config; + app.site = data.site; app.user = data.user; app.site.default_info = '

Overview

use this api in the browser with Ox.app or use pandora_client to use it in python
'; app.$body = $('body');