Specify TADL skin choices in custom.js
authorJeff Godin <jgodin@tadl.org>
Mon, 21 May 2012 19:25:10 +0000 (15:25 -0400)
committerJeff Godin <jgodin@tadl.org>
Tue, 22 May 2012 15:33:18 +0000 (11:33 -0400)
Use custom.js to specify TADL skin selections for the staff
client. Also, include custom.js in index.xhtml "new tab" page.

These changes have been in production for some time, but were
not previously checked in to revision control.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
Open-ILS/xul/staff_client/server/index.xhtml
Open-ILS/xul/staff_client/server/skin/custom.js [new file with mode: 0644]

index dfa9de8..350ed5b 100644 (file)
@@ -77,6 +77,8 @@
 </script>
   <script type="text/javascript" src="main/JSAN.js">
 </script>
+  <script type="text/javascript" src="skin/custom.js">
+</script>
   <script type="text/javascript">
       // <![CDATA[
         
diff --git a/Open-ILS/xul/staff_client/server/skin/custom.js b/Open-ILS/xul/staff_client/server/skin/custom.js
new file mode 100644 (file)
index 0000000..58db82c
--- /dev/null
@@ -0,0 +1,4 @@
+urls['opac'] = '/opac/' + LOCALE + '/skin/tadl/xml/advanced.xml?nps=1';
+urls['opac_rdetail'] = '/opac/' + LOCALE + '/skin/tadl/xml/rdetail.xml';
+urls['opac_rresult'] = '/opac/' + LOCALE + '/skin/tadl/xml/rresult.xml';
+urls['browser'] = '/opac/' + LOCALE + '/skin/tadl/xml/advanced.xml?nps=1';