From: Dobrica Pavlinusic Date: Thu, 6 Dec 2012 16:33:44 +0000 (+0100) Subject: fix database name in view X-Git-Url: http://git.rot13.org/?p=angular-mojolicious.git;a=commitdiff_plain fix database name in view --- diff --git a/public/app/conference/registration.js b/public/app/conference/registration.js index cdd76d6..a4f93b3 100644 --- a/public/app/conference/registration.js +++ b/public/app/conference/registration.js @@ -102,7 +102,7 @@ console.debug( 'load_symposium ', s_id, self.symposium ); console.debug( self.$xhr ); self.$xhr("JSON" - , "/conference/_design/symposium/_view/works?callback=JSON_CALLBACK;key=" + s_id + , "/" + database + "/_design/symposium/_view/works?callback=JSON_CALLBACK;key=" + s_id , function(code, response){ console.log('symposium/_view/works', code, response); angular.foreach( response.rows, function(row) {