Diff for /zogiLib/js/Attic/dl_lib.js between versions 1.2 and 1.3

version 1.2, 2004/06/02 17:32:54 version 1.3, 2004/06/02 21:53:15
Line 235  function openWin(url, title, params) { Line 235  function openWin(url, title, params) {
   
 function getRef(select) {  function getRef(select) {
     // open a dialog with a reference to the current digilib set      // open a dialog with a reference to the current digilib set
     var hyperlinkRef = baseUrl + "?" + getAllParameters(9);      if (! baseUrl) {
       var baseUrl = location.protocol + "//" + location.host + location.pathname;
       }
       var hyperlinkRef = baseUrl;
       var par = getAllParameters(9);
       if (par.length > 0) {
       hyperlinkRef += "?" + par;
       }
     if ( select == 0 ) {      if ( select == 0 ) {
     prompt("Link for LaTeX-documents", "\\href{" + hyperlinkRef + "}{TEXT}");      prompt("Link for LaTeX-documents", "\\href{" + hyperlinkRef + "}{TEXT}");
     } else if ( select == 1 ) {      } else if ( select == 1 ) {

Removed from v.1.2  
changed lines
  Added in v.1.3


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>