'init' : function( params ) {
+ var obj = this;
+
urls.remote = params['server'];
// Pull in local customizations
var r = new XMLHttpRequest();
- r.open("GET", url_prefix('/xul/server/skin/custom.js'), false);
+ r.open("GET", obj.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;
-
var button_bar = String( obj.data.hash.aous['ui.general.button_bar'] ) == 'true';
if (button_bar) {
var x = document.getElementById('main_toolbar');
<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" />