make things simpler
authorphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 7 Feb 2006 05:07:31 +0000 (05:07 +0000)
committerphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 7 Feb 2006 05:07:31 +0000 (05:07 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@2995 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/xul/staff_client/chrome/content/util/network.js

index 0208945..13a0a36 100644 (file)
@@ -17,6 +17,10 @@ util.network.prototype = {
 
        'link_id' : 0,
 
+       'simple_request' : function(id,params,f) {
+               return this.request(api[id].app,api[id].method,params,f);
+       },
+
        'request' : function (app,name,params,f) {
                try {
                        var obj = this;