| Summary: | Datatable Javascript error on subscription-detail.pl | ||
|---|---|---|---|
| Product: | Koha | Reporter: | David Cook <dcook> |
| Component: | Serials | Assignee: | Bugs List <koha-bugs> |
| Status: | RESOLVED DUPLICATE | QA Contact: | Testopia <testopia> |
| Severity: | minor | ||
| Priority: | P5 - low | CC: | colin.campbell, stefan.berndtsson |
| Version: | Main | ||
| Hardware: | All | ||
| OS: | All | ||
| GIT URL: | Initiative type: | --- | |
| Sponsorship status: | --- | Crowdfunding goal: | 0 |
| Patch complexity: | --- | Documentation contact: | |
| Documentation submission: | Text to go in the release notes: | ||
| Version(s) released in: | Circulation function: | ||
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.