Editing Dashboard produces a console error if inbox messages present
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Mahara | ||||||
19.10 |
Fix Released
|
Medium
|
Unassigned | |||
20.04 |
Fix Released
|
Medium
|
Unassigned | |||
20.10 |
Fix Released
|
Medium
|
Unassigned | |||
21.04 |
Fix Released
|
Medium
|
Lisa Seeto |
Bug Description
A console error is currently being produced if the account holder has at least one message in their inbox and they select to edit their Dashboard.
1. Log into a site on as any user with an inbox message (i.e. you can quickly receive one from another user via a Friend request)
2. Open the Browser Console (on Firefox via "F12", Chrome on Linux via SHIFT+CNTRL+J)
3. Navigate to the Dashboard and select 'Edit Dashboard'. Observe the console.
Expected results:
The console is free of any errors.
Actual results:
The following error is produced:
Uncaught TypeError: dock.init is not a function
<anonymous> http://
jQuery 7
<anonymous> http://
jQuery 3
addWidget http://
addNewWidget http://
loadGrid http://
each jQuery
loadGrid http://
<anonymous> http://
jQuery 13
Changed in mahara: | |
assignee: | nobody → Lisa Seeto (lisaseeto) |
status: | New → In Progress |
no longer affects: | mahara |
Patch for "master" branch: https:/ /reviews. mahara. org/11515