a few small patchups here and there for handling the new SSI directory structure
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 13 Dec 2005 23:59:58 +0000 (23:59 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 13 Dec 2005 23:59:58 +0000 (23:59 +0000)
some minor style updates

git-svn-id: svn://svn.open-ils.org/ILS/trunk@2364 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/web/opac/common/js/opac_utils.js
Open-ILS/web/opac/common/js/slimtree.js
Open-ILS/web/opac/skin/default/css/layout.css
Open-ILS/web/opac/skin/default/js/result_common.js

index c798227..99f6693 100644 (file)
@@ -142,7 +142,7 @@ function buildISBNSrc(isbn) {
 */
 
 function buildImageLink(name, ssl) {
-       return findBaseURL(ssl) + "../../../images/" + name;
+       return findBaseURL(ssl) + "../../../../images/" + name;
 }
 
 function  buildOPACLink(args, slim, ssl) {
@@ -278,6 +278,7 @@ function grabUser(ses, force) {
 
        var at = getAuthtime();
        if(isXUL()) at = xulG['authtime'];
+       //alert(at);
        new AuthTimer(at).run();
 
        return G.user;
@@ -363,7 +364,7 @@ function updateUserSetting(setting, value, user) {
 
 function commitUserPrefs() {
        var req = new Request( 
-               UPDATE_USER_PREFS, G.user.session, G.user.prefs );
+               UPDATE_USER_PREFS, G.user.session, null, G.user.prefs );
        req.send(true);
        return req.result();
 }
@@ -411,8 +412,8 @@ function doLogin() {
        var code = checkILSEvent(auth_result);
        if(code) { alertILSEvent(code); return null; }
 
-       var u = grabUser(auth_result.payload.authtoken, true);
        AUTHTIME = parseInt(auth_result.payload.authtime);
+       var u = grabUser(auth_result.payload.authtoken, true);
        if(u) runEvt( "common", "locationChanged", u.home_ou(), findOrgDepth(u.home_ou()) );
 
        checkUserSkin();
@@ -566,7 +567,7 @@ function MARCFormatToMods(format) {
 }
 
 function setResourcePic( img, resource ) {
-       img.setAttribute( "src", "../../../images/tor/" + resource + ".jpg");
+       img.setAttribute( "src", "../../../../images/tor/" + resource + ".jpg");
        img.title = resource;
 }
 
index 9228d39..ed2db18 100644 (file)
@@ -1,9 +1,19 @@
+/*
 var stpicopen  = '../../../images/slimtree/folder.gif';
 var stpicclose = '../../../images/slimtree/folderopen.gif';
 var stpicblank = '../../../images/slimtree/page.gif';
 var stpicline  = '../../../images/slimtree/line.gif';
 var stpicjoin  = '../../../images/slimtree/join.gif';
 var stpicjoinb = '../../../images/slimtree/joinbottom.gif';
+*/
+
+var stpicopen  = '../../../../images/slimtree/folder.gif';
+var stpicclose = '../../../../images/slimtree/folderopen.gif';
+var stpicblank = '../../../../images/slimtree/page.gif';
+var stpicline  = '../../../../images/slimtree/line.gif';
+var stpicjoin  = '../../../../images/slimtree/join.gif';
+var stpicjoinb = '../../../../images/slimtree/joinbottom.gif';
+
 
 var stimgopen  = elem('img',{src:stpicopen,border:0});
 var stimgclose = elem('img',{src:stpicclose,border:0});
index 5ed8339..9791a09 100644 (file)
@@ -13,6 +13,7 @@ table { border-collapse: collapse; }
 .data_grid thead tr { background: #E0F0E0; color: #000000; }
 .data_grid thead td { border: 1px solid #808080; padding-right: 5px; padding-left: 5px;}
 .data_grid tbody td { border: 1px solid #E0E0E0; padding: 5px; }
+.data_grid_center { text-align: center; }
 
 .classic_link { text-decoration: underline; color: black;}
 .classic_link:visited { text-decoration: underline; color: black;}
index a3b1ad8..b9ceb2e 100644 (file)
@@ -8,6 +8,7 @@ G.evt.result.hitCountReceived.push(resultSetHitInfo);
 G.evt.result.recordReceived.push(resultDisplayRecord, resultAddCopyCounts);
 G.evt.result.copyCountsReceived.push(resultDisplayCopyCounts);
 G.evt.result.allRecordsReceived.push(resultBuildCaches, resultDrawSubjects, resultDrawAuthors, resultDrawSeries);
+//G.evt.result.allRecordsReceived.push(resultBuildCaches );
 
 attachEvt('result','lowHits',resultLowHits);
 attachEvt('result','zeroHits',resultZeroHits);