Reviewed: https://reviews.mahara.org/11515 Committed: https://git.mahara.org/mahara/mahara/commit/7512d7faef859f6f8d45aa5d0ac1389d5e6eb06d Submitter: Robert Lyon (robe...@catalyst.net.nz) Branch: master
commit 7512d7faef859f6f8d45aa5d0ac1389d5e6eb06d Author: Lisa Seeto <lisase...@catalyst.net.nz> Date: Wed Jan 13 14:20:22 2021 +1300 Bug 1911358: Editing Dashboard produces a console error if inbox messages present - ajusted the way that jquery triggers pageupdated event Change-Id: Iecb789ad73f76e3b2a9befdd0b6387f9ebd26efb Signed-off-by: Lisa Seeto <lisase...@catalyst.net.nz> -- You received this bug notification because you are a member of Mahara Contributors, which is subscribed to Mahara. Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it! https://bugs.launchpad.net/bugs/1911358 Title: Editing Dashboard produces a console error if inbox messages present Status in Mahara: In Progress Status in Mahara 19.10 series: New Status in Mahara 20.04 series: New Status in Mahara 20.10 series: New 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://mahara/view/blocks.php?id=6:130 jQuery 7 <anonymous> http://mahara/view/blocks.php?id=6 line 2 > injectedScript:2 jQuery 3 addWidget http://mahara/js/gridstack/gridstack.js?v=2197:1371 addNewWidget http://mahara/js/gridlayout.js?v=2197:265 loadGrid http://mahara/js/gridlayout.js?v=2197:81 each jQuery loadGrid http://mahara/js/gridlayout.js?v=2197:60 <anonymous> http://mahara/view/blocks.php?id=6:114 jQuery 13 To manage notifications about this bug go to: https://bugs.launchpad.net/mahara/+bug/1911358/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~mahara-contributors Post to : mahara-contributors@lists.launchpad.net Unsubscribe : https://launchpad.net/~mahara-contributors More help : https://help.launchpad.net/ListHelp