Forums | Mahara Community
Support
/
Javascript error trying to delete image in block
09 October 2019, 23:45
We have a page with a block containing an image. When you edit the block and attempt to delete the image it (apparently) does nothing. However, there is a javascript error thrown in the console as follows...
jquery.js?v=5541:2 Uncaught TypeError: this.clear_create_folder_messages is not a function
at HTMLButtonElement.<anonymous> (VM1254 filebrowser.js:719)
at Function.each (jquery.js?v=5541:2)
at w.fn.init.each (jquery.js?v=5541:2)
at Object.select_init (VM1254 filebrowser.js:718)
at HTMLDocument.init (VM1254 filebrowser.js:34)
at l (jquery.js?v=5541:2)
at c (jquery.js?v=5541:2)
Any thoughts?
11 October 2019, 7:39
Hi Howard,
Is it an image block or a text / note block that contains an image? Which version of Mahara are you using? What is your environment (PHP, database, operating system)? Can you please make the Leap2A file available of the page?
Thank you
Kristina
11 October 2019, 23:28
Sorry for lack of info...
* It's an image block
* Mahara 19.04 ("original" version)
* O/S is CentOS
* PHP 7.1 from Webtatic repo
* MySQL 5.7
I'm happy to let you have the LEAP2A file if you let me know where I can send it. Not happy to post it publicly.
21 October 2019, 8:42
Hi Howard,
This problem looks to have been fixed for 19.04.1 via
this bug report https://bugs.launchpad.net/mahara/+bug/1833034
and this patch https://reviews.mahara.org/#/c/10147
Can you please either try upgrading to 19.04.1 or applying the patch to see if it fixes your issue?
Cheers
Robert