[open-ils-commits] r11799 - trunk/Open-ILS/web/js/dojo/openils

svn at svn.open-ils.org svn at svn.open-ils.org
Mon Jan 12 12:55:53 EST 2009


Author: erickson
Date: 2009-01-12 12:55:50 -0500 (Mon, 12 Jan 2009)
New Revision: 11799

Modified:
   trunk/Open-ILS/web/js/dojo/openils/PermaCrud.js
Log:
repaired session variable name

Modified: trunk/Open-ILS/web/js/dojo/openils/PermaCrud.js
===================================================================
--- trunk/Open-ILS/web/js/dojo/openils/PermaCrud.js	2009-01-12 17:33:08 UTC (rev 11798)
+++ trunk/Open-ILS/web/js/dojo/openils/PermaCrud.js	2009-01-12 17:55:50 UTC (rev 11799)
@@ -195,7 +195,7 @@
                         _pcrud.session.request({
                             method : 'open-ils.pcrud.transaction.commit',
                             timeout : 10,
-                            params : [ ses ],
+                            params : [ _pcrud.auth() ],
                             onerror : function (r) {
                                 _pcrud.disconnect();
                                 throw 'Transaction commit error';
@@ -243,7 +243,7 @@
             this.session.request({
                 method : 'open-ils.pcrud.transaction.begin',
                 timeout : 10,
-                params : [ ses ],
+                params : [ _pcrud.auth() ],
                 onerror : function (r) {
                     _pcrud.disconnect();
                     throw 'Transaction begin error';
@@ -316,7 +316,7 @@
                         _pcrud.session.request({
                             method : 'open-ils.pcrud.transaction.commit',
                             timeout : 10,
-                            params : [ ses ],
+                            params : [ _pcrud.auth() ],
                             onerror : function (r) {
                                 _pcrud.disconnect();
                                 throw 'Transaction commit error';
@@ -364,7 +364,7 @@
             this.session.request({
                 method : 'open-ils.pcrud.transaction.begin',
                 timeout : 10,
-                params : [ ses ],
+                params : [ _pcrud.auth() ],
                 onerror : function (r) {
                     _pcrud.disconnect();
                     throw 'Transaction begin error';



More information about the open-ils-commits mailing list