Fix for Bug 5093 - JavaScript error in IE8 when choosing authority record

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
This commit is contained in:
Owen Leonard 2010-08-05 15:55:01 -04:00 committed by Galen Charlton
parent d7b6d43a2e
commit 399e22e87f

View file

@ -2,9 +2,8 @@
<Title>Koha -- Authority details</title>
<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
<script type="text/javascript">
window.onload = go();
function go(){
//<![CDATA[
$(document).ready(function(){
var index_start = "<!-- TMPL_VAR NAME='index' -->";
var whichfield;
try {
@ -40,7 +39,8 @@
window.close();
return false;
}
});
//]]>
</script>
</head>
<body>
@ -55,4 +55,4 @@
</div>
</div>
<!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->
<!-- TMPL_INCLUDE NAME="popup-bottom.inc" -->