Changes to address Bug 774 (z3950 search results window not resizable)
authorOwen Leonard <oleonard@myacpl.org>
Tue, 4 Dec 2007 21:00:11 +0000 (15:00 -0600)
committerJoshua Ferraro <jmf@liblime.com>
Tue, 4 Dec 2007 21:06:32 +0000 (15:06 -0600)
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tmpl
koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/z3950_search.tmpl

index b26bedd..85d67bc 100644 (file)
@@ -42,7 +42,7 @@ function Dopop(link,i) {
 function PopupZ3950() {
     var strQuery = AreZ3950MandoriesOk();
     if(strQuery){
-        window.open("/cgi-bin/koha/cataloguing/z3950_search.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->&frameworkcode=<!-- TMPL_VAR NAME="frameworkcode" -->"+strQuery,"z3950search",'width=640,height=400,location=yes,toolbar=no,scrollbars=yes,resize=yes');
+        window.open("/cgi-bin/koha/cataloguing/z3950_search.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->&frameworkcode=<!-- TMPL_VAR NAME="frameworkcode" -->"+strQuery,"z3950search",'width=740,height=450,location=yes,toolbar=no,scrollbars=yes,resize=yes');
     } else {
         var strAlert = _("To perform a z39.50 search, you must enter at least one of the following: \n\n ISBN\n ISSN\n Title\n Author\n");    
         alert(strAlert);
index 9e8d035..9f17509 100644 (file)
     }
 //]]>
 </script>
-<style type="text/css">#custom-doc { width:47.23em;*width:46.04em;min-width:610px; margin:auto;margin-top: .4em; text-align:left; }</style>
+<style type="text/css">body {margin: 1em; }</style>
 </head>
 <body>
 
-<div id="custom-doc" class="yui-t7">
-   <div id="bd">
-
     <h2>Search for:</h2>
     <!-- TMPL_IF NAME="title"--><p><strong>Title:</strong> <!-- TMPL_VAR NAME="title"--></p><!-- /TMPL_IF -->
     <!-- TMPL_IF NAME="author"--><p><strong>Author:</strong> <!-- TMPL_VAR NAME="author"--></p><!-- /TMPL_IF -->