https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33616

            Bug ID: 33616
           Summary: JavaScript error in when using claims return button in
                    checkout table
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Circulation
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
                CC: [email protected], [email protected]

To recreate:

1. Set ClaimReturnedLostValue to a LOST value
2. Check out an item to a patron.
3. Click the Claim returned button within the checkout table.
4. Get spinning icon in place of the button
5. In the web developer tools console: Uncaught TypeError: value.match is not a
function


Looks like this is coming from includes/js-date-format.inc:

 46             if ( ! value.match(/^\d{4}-\d{2}-\d{2}$/ ) ) {
 47                 m = m.tz(tz);
 48             }

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to