Commit 4e5bc28e authored by Robert Lyon's avatar Robert Lyon Committed by Gerrit Code Review

Merge "Bug #1806524: edit page has duplicated "addblock" in html tags"

parents c937c929 3e87aac4
......@@ -491,7 +491,7 @@
var position = $(this).val().split('-'),
element = workspace.find('.js-col-row').eq(parseInt(position[0], 10) - 1).find('.column').eq(parseInt(position[1], 10) - 1),
options = [get_string('blockordertopcell')],
selectbox = $('#addblock_position');
selectbox = $('#newblock_position');
element.find('.column-content .blockinstance .blockinstance-header').each(function() {
options.push(get_string('blockorderafter', 'view', $(this).html()));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment