[open-ils-commits] SPAM: r9163 -
branches/dojo-admin/Open-ILS/web/conify/global/permission
svn at svn.open-ils.org
svn at svn.open-ils.org
Sat Mar 29 21:35:46 EDT 2008
Author: miker
Date: 2008-03-29 20:59:58 -0400 (Sat, 29 Mar 2008)
New Revision: 9163
Modified:
branches/dojo-admin/Open-ILS/web/conify/global/permission/grp_tree.html
branches/dojo-admin/Open-ILS/web/conify/global/permission/grp_tree.js
Log:
adding actor application session
Modified: branches/dojo-admin/Open-ILS/web/conify/global/permission/grp_tree.html
===================================================================
--- branches/dojo-admin/Open-ILS/web/conify/global/permission/grp_tree.html 2008-03-30 00:59:24 UTC (rev 9162)
+++ branches/dojo-admin/Open-ILS/web/conify/global/permission/grp_tree.html 2008-03-30 00:59:58 UTC (rev 9163)
@@ -56,7 +56,7 @@
<script type="dojo/method">
window.dirtyStore = [];
- pCRUD.request({
+ server.pCRUD.request({
method : 'open-ils.permacrud.search.pgt.atomic',
timeout : 10,
params : [ ses, { id : { "!=" : null } }, { order_by : { pgt : 'name' } } ],
@@ -107,7 +107,7 @@
}
// XXX Use existing perm grabbing functions?? see old interface
- pCRUD.request({
+ server.pCRUD.request({
method : 'open-ils.permacrud.search.ppl.atomic',
timeout : 10,
params : [ ses, { id : { "!=" : null } }, { order_by : { ppl : 'code' } } ],
@@ -144,7 +144,7 @@
}
}).send();
- pCRUD.request({
+ server.pCRUD.request({
method : 'open-ils.permacrud.search.pgmp.atomic',
timeout : 10,
params : [ ses, { id : { "!=" : null } } ],
@@ -156,7 +156,7 @@
}
}).send();
- pCRUD.request({
+ server.pCRUD.request({
method : 'open-ils.permacrud.search.aout.atomic',
timeout : 10,
params : [ ses, { id : { "!=" : null } }, { order_by : { aout : 'depth' } } ],
@@ -374,7 +374,7 @@
var modified_pgt = new pgt().fromStoreItem( current_group );
modified_pgt.isdeleted( 1 );
- pCRUD.request({
+ server.pCRUD.request({
method : 'open-ils.permacrud.delete.pgt',
timeout : 10,
params : [ ses, modified_pgt ],
@@ -440,7 +440,7 @@
});
var err = false;
- pCRUD.request({
+ server.pCRUD.request({
method : 'open-ils.permacrud.create.pgt',
timeout : 10,
params : [ ses, new_fm_obj ],
Modified: branches/dojo-admin/Open-ILS/web/conify/global/permission/grp_tree.js
===================================================================
--- branches/dojo-admin/Open-ILS/web/conify/global/permission/grp_tree.js 2008-03-30 00:59:24 UTC (rev 9162)
+++ branches/dojo-admin/Open-ILS/web/conify/global/permission/grp_tree.js 2008-03-30 00:59:58 UTC (rev 9163)
@@ -25,7 +25,9 @@
var cgi = new CGI();
var cookieManager = new HTTP.Cookies();
var ses = cookieManager.read('ses') || cgi.param('ses');
-var pCRUD = new OpenSRF.ClientSession('open-ils.permacrud');
+var server = {};
+server.pCRUD = new OpenSRF.ClientSession('open-ils.permacrud');
+server.actor = new OpenSRF.ClientSession('open-ils.actor');
var current_group;
var virgin_out_id = -1;
@@ -45,7 +47,7 @@
save_out_button.disabled = false;
delete_out_button.disabled = false;
- pCRUD.request({
+ server.pCRUD.request({
method : 'open-ils.permacrud.update.pgt',
timeout : 10,
params : [ ses, modified_pgt ],
More information about the open-ils-commits
mailing list