Line 999: $('#newblock .cancel, #newblock .deletebutton').on('mousedown keydown', function(e) {
Hi team.
The dialog box that appears cannot be closed by clicking the "x" at the top right anymore.
To get this issue - Just click the "text" box on the side (to add a new text box to the page) to get the dialog to appear. click the "X" at the top and nothing happens.
Putting this back to "#addblock .deletebutton" resolves as the delete button is outside the form.
Bug had to be reopened to fix the following issue:
Kevin Dibble has posted comments on this change.
Change subject: Bug 1806524: edit page has duplicated "addblock" in html tags ....... ....... ....... ....... ....... ....... ....... ....... .......
.......
Patch Set 1:
(1 comment)
https:/ /reviews. mahara. org/#/c/ 9673/1/ htdocs/ js/views. js
File htdocs/js/views.js:
Line 999: $('#newblock .cancel, #newblock .deletebutton' ).on('mousedown keydown', function(e) {
Hi team.
The dialog box that appears cannot be closed by clicking the "x" at the top right anymore.
To get this issue - Just click the "text" box on the side (to add a new text box to the page) to get the dialog to appear. click the "X" at the top and nothing happens.
Putting this back to "#addblock .deletebutton" resolves as the delete button is outside the form.