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 = data.data;
var blockinstance = getFirstElementByTagAndClassName('div', 'blockinstance', div);
self.rewriteConfigureButton(getFirstElementByTagAndClassName('input', 'configurebutton', blockinstance));
self.rewriteDeleteButton(getFirstElementByTagAndClassName('input', 'deletebutton', blockinstance));
self.makeBlockinstanceDraggable(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