Bug 2365: Serials prediction errors: Roll-overs occur with wrong issue in some cases.
authorRyan Higgins <rch@liblime.com>
Wed, 19 Nov 2008 15:55:38 +0000 (09:55 -0600)
committerChris Cormack <chris@bigballofwax.co.nz>
Fri, 4 Sep 2009 03:16:16 +0000 (15:16 +1200)
See bugzilla for details.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-add.tmpl

index 96a2e01..9512b30 100644 (file)
@@ -811,12 +811,6 @@ function moreoptionsupdate(inputfield,rollover){
     var fieldnumber = fieldname.slice(-5,-4);
 
     basefield.value = inputfield.value;
-    if(basefield.name.slice(0,-1) == 'lastvalue') {
-        // lastvalue seems to mean 'begins with', tracking the first received issue so
-        // we can recreate the whole historeven after receiving.  innerloop is the var that
-        // actually tracks which issue we're on, though.
-        document.getElementById('innerloop'+fieldnumber).value = inputfield.value;
-    }
     var patternchoice = document.getElementById("numberpattern").value;
     switch(patternchoice){
     case "2":