JSAN.use('OpenILS.data'); g.data = new OpenILS.data(); g.data.init({'via':'stash'});
XML_HTTP_SERVER = g.data.server_unadorned;
+ // Pull in local customizations
+ var r = new XMLHttpRequest();
+ r.open("GET", xulG.url_prefix('/xul/server/skin/custom.js'), false);
+ r.send(null);
+ if (r.status == 200) {
+ dump('Evaluating /xul/server/skin/custom.js\n');
+ eval( r.responseText );
+ }
+
JSAN.use('util.network'); g.network = new util.network();
g.cgi = new CGI();
urls.remote = params['server'];
+ // Pull in local customizations
+ var r = new XMLHttpRequest();
+ r.open("GET", url_prefix('/xul/server/skin/custom.js'), false);
+ r.send(null);
+ if (r.status == 200) {
+ dump('Evaluating /xul/server/skin/custom.js\n');
+ eval( r.responseText );
+ }
+
var obj = this;
JSAN.use('OpenILS.data'); obj.data = new OpenILS.data(); obj.data.init({'via':'stash'});
<script>try { dojo.require('dojo.date.locale'); } catch(E) { alert(E); }</script>
<script>try { dojo.require('dojo.date.stamp'); } catch(E) { alert(E); }</script>
<script type="text/javascript" src="/xul/server/main/constants.js" />
+ <script type="text/javascript" src="/xul/server/skin/custom.js" />
<script type="text/javascript" src="/xul/server/OpenILS/data.js" />
<script type="text/javascript" src="/xul/server/util/barcode.js" />
<script type="text/javascript" src="/xul/server/util/browser.js" />