[Koha-bugs] [Bug 22072] New: Datatable Javascript error on subscription-detail.pl

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Jan 7 07:34:34 CET 2019


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

            Bug ID: 22072
           Summary: Datatable Javascript error on subscription-detail.pl
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: minor
          Priority: P5 - low
         Component: Serials
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: dcook at prosentient.com.au
        QA Contact: testopia at bugs.koha-community.org
                CC: colin.campbell at ptfs-europe.com
  Target Milestone: ---

When I create a fresh git install of Koha and go to
/cgi-bin/koha/serials/subscription-detail.pl?subscriptionid=1, I'm seeing the
following in the console:

jquery.treetable_18.1101000.js:481 Uncaught TypeError: Cannot read property
'expandAll' of undefined
    at a.fn.init.expandAll (jquery.treetable_18.1101000.js:481)
    at a.fn.init.$.fn.treetable (jquery.treetable_18.1101000.js:608)
    at HTMLDocument.<anonymous> (subscription-detail.pl?subscriptionid=1:952)
    at i (jquery-2.2.3.min_18.1101000.js:2)
    at Object.fireWith [as resolveWith] (jquery-2.2.3.min_18.1101000.js:2)
    at Function.ready (jquery-2.2.3.min_18.1101000.js:2)
    at HTMLDocument.J (jquery-2.2.3.min_18.1101000.js:2)

This is invoked by the second function call here:

            $(table).treetable({
                expandable: true
            });
            $(table).treetable('expandAll');

The table is for "orders" which doesn't sound familiar to me on this page, but
oh well. Should be an easy enough fix. I don't have time for it now, so just
reporting here for the time being.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list