[open-ils-commits] r9407 - branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/templates/oils/default/acq/financial

svn at svn.open-ils.org svn at svn.open-ils.org
Mon Apr 21 14:20:56 EDT 2008


Author: erickson
Date: 2008-04-21 13:41:57 -0400 (Mon, 21 Apr 2008)
New Revision: 9407

Modified:
   branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/templates/oils/default/acq/financial/view_funding_source.html
Log:
making use of the new orgunitfilteringselect

Modified: branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/templates/oils/default/acq/financial/view_funding_source.html
===================================================================
--- branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/templates/oils/default/acq/financial/view_funding_source.html	2008-04-21 17:41:28 UTC (rev 9406)
+++ branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/templates/oils/default/acq/financial/view_funding_source.html	2008-04-21 17:41:57 UTC (rev 9407)
@@ -12,6 +12,7 @@
     dojo.require("dijit.form.Textarea");
     dojo.require("dijit.form.CurrencyTextBox");
     dojo.require('openils.acq.FundingSource');
+    dojo.require('openils.Event');
     
     var ses = new OpenSRF.ClientSession('open-ils.acq');
     var fundingSourceID = ${c.oils.acq.funding_source_id};
@@ -39,6 +40,11 @@
         req.oncomplete = function(r) {
             var msg = req.recv();
             fundingSource = msg.content();
+            var evt = openils.Event.parse(fundingSource);
+            if(evt) {
+                alert(evt);
+                return;
+            }
             loadFSGrid();
         }
         req.send();



More information about the open-ils-commits mailing list