Fix for Bug 5991 - Javascript error on purchase suggestion pages
Rebased on master 2011-04-04 Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de> Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
This commit is contained in:
parent
88b3711ca9
commit
4f2dbc193b
2 changed files with 9 additions and 4 deletions
|
@ -695,7 +695,7 @@ function calcNewsuggTotal(){
|
|||
var total = new Number(quantity*price*exchangerate);
|
||||
|
||||
document.getElementById('total').value = total.toFixed(2);
|
||||
document.getElementById('price').value = listprice.toFixed(2);
|
||||
document.getElementById('price').value = price.toFixed(2);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<!-- TMPL_INCLUDE NAME="calendar.inc" -->
|
||||
<!--TMPL_IF Name="op_else"--> <script type="text/javascript" src="<!-- TMPL_VAR name="themelang" -->/lib/jquery/plugins/jquery.tablesorter.min.js"></script>
|
||||
<script type="text/javascript" src="<!-- TMPL_VAR name="themelang" -->/lib/jquery/plugins/jquery.checkboxes.min.js"></script>
|
||||
<script type="text/JavaScript">
|
||||
<script type="text/javascript">
|
||||
// <![CDATA[
|
||||
|
||||
function yuiToolbar() {
|
||||
|
@ -79,11 +79,16 @@ $(document).ready(function() {
|
|||
<style type="text/css">
|
||||
h4.collapse a { font-size : 80%; text-decoration: none; } fieldset.brief ol { display : none; }
|
||||
.overlay { top: 180px; left: 50%; position: absolute; margin-left: -100px; width: 200px; text-align: center; display: none; margin-top: -10px; background: #eeffd4; padding: .5em; color: #000; } .note { -moz-border-radius: 3px; border-radius:3px; background: transparent url("/intranet-tmpl/prog/img/famfamfam/silk/comment.png") top left no-repeat; padding : 1px 3px 1px 18px; font-size : 90%; }
|
||||
</style>
|
||||
</style><!-- TMPL_ELSE -->
|
||||
<script type="text/javascript">
|
||||
// <![CDATA[
|
||||
$(document).ready(function() { calcNewsuggTotal(); });
|
||||
// ]]>
|
||||
</script>
|
||||
<!--/TMPL_IF-->
|
||||
<script type="text/javascript" src="<!-- TMPL_VAR NAME='themelang' -->/js/acq.js"></script>
|
||||
</head>
|
||||
<body onload="calcNewsuggTotal();">
|
||||
<body>
|
||||
<!-- TMPL_INCLUDE name="header.inc" -->
|
||||
<!-- TMPL_INCLUDE NAME="cat-search.inc" -->
|
||||
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/acqui/acqui-home.pl">Acquisitions</a> › <!-- TMPL_IF name="op_save" --> <a href="/cgi-bin/koha/suggestion/suggestion.pl">Suggestions</a> › <!-- TMPL_IF name="suggestionid" -->Suggestion edit #<!-- TMPL_VAR name="suggestionid" --><!--TMPL_ELSE-->New purchase suggestion<!-- /TMPL_IF --><!--TMPL_ELSE-->Suggestions Management<!-- /TMPL_IF --> </div>
|
||||
|
|
Loading…
Reference in a new issue