Skip to content
Commit 52770f8b authored by Robert Lyon's avatar Robert Lyon Committed by Aaron Wells
Browse files

Bug 1511536: problem with deleting blocks when edit page first loads



The problem is due to the scope of the blockinstanceId variable being
outside of the click handler function, which inadvertently makes it
into a sort of static variable shared by all of the delete buttons.

So the solution is to use a locally-scoped blockinstanceId button
inside the click handler method.

Change-Id: I3e8ffac31cc869c545e85c5f53c3e710e2e71243
Signed-off-by: default avatarRobert Lyon <robertl@catalyst.net.nz>
Signed-off-by: default avatarAaron Wells <aaronw@catalyst.net.nz>
parent c2b3a178
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment