Commit 106256f6 authored by Nigel McNie's avatar Nigel McNie
Browse files

Make sure that the 'configure' button works without a POST just after a new block has been inserted

parent acf096f0
......@@ -817,6 +817,7 @@ function ViewManager() {
var div = DIV();
div.innerHTML =;
var blockinstance = getFirstElementByTagAndClassName('div', 'blockinstance', div);
self.rewriteConfigureButton(getFirstElementByTagAndClassName('input', 'configurebutton', blockinstance));
self.rewriteDeleteButton(getFirstElementByTagAndClassName('input', 'deletebutton', blockinstance));
insertSiblingNodesAfter(self.blockPlaceholder, blockinstance);
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