← Back to team overview

mahara-contributors team mailing list archive

[Bug 1806524] Re: edit page has duplicated "addblock" in html tags

 

Hi,


This change has introduced a bug in Mahara 19.04.0.

When the user adds a block (by clicking on the artefact - not
drag/drop), the selection of the positions displays: 'After 1', 'After
2'

It doesn't actually display the artefact titles in the drop down as it
used to in previous Mahara versions.

The fix is to update htdocs/js/view.js - line 496

* selectbox = $('#addblock_position'); -> selectbox =
$('#newblock_position');

I don't actually have time to push this upstream. So, I leave it the
Mahara team.

Thanks,
Ghada

-- 
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/1806524

Title:
  edit page has duplicated "addblock" in html tags

Status in Mahara:
  Fix Released
Status in Mahara 19.04 series:
  Fix Released

Bug description:
  when editing a page, if we inspect the html we can see there are two elements with the id="addblock". All id's in html tags should be unique.
  We need to fix this either for the form that pop's up when adding a block to the page by clicking on the block menu, or fix it for the modal that contains it.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1806524/+subscriptions


References