Console error in image gallery

Bug #1851589 reported by Robert Lyon on 2019-11-07
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Status tracked in 20.04
19.10
Medium
Unassigned
20.04
Medium
Unassigned

Bug Description

We get the following error

SyntaxError: expected expression, got '<'

This is because it tries to load a non-existing file

Reviewed: https://reviews.mahara.org/10573
Committed: https://git.mahara.org/mahara/mahara/commit/c658ae935c199701539a946b3102b65e67483b96
Submitter: Robert Lyon (<email address hidden>)
Branch: master

commit c658ae935c199701539a946b3102b65e67483b96
Author: Robert Lyon <email address hidden>
Date: Thu Nov 7 13:01:07 2019 +1300

Bug 1851589: only load block js files if the string is not empty

behatnotneeded

Change-Id: I1a954fa83196fd68758ef08e16433ca7dd5b974c
Signed-off-by: Robert Lyon <email address hidden>

Reviewed: https://reviews.mahara.org/10586
Committed: https://git.mahara.org/mahara/mahara/commit/c349f2b87d5df92655287375eb41fc0b30592c7b
Submitter: Robert Lyon (<email address hidden>)
Branch: 19.10_STABLE

commit c349f2b87d5df92655287375eb41fc0b30592c7b
Author: Robert Lyon <email address hidden>
Date: Thu Nov 7 13:01:07 2019 +1300

Bug 1851589: only load block js files if the string is not empty

behatnotneeded

Change-Id: I1a954fa83196fd68758ef08e16433ca7dd5b974c
Signed-off-by: Robert Lyon <email address hidden>
(cherry picked from commit c658ae935c199701539a946b3102b65e67483b96)

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers