• Aaron Wells's avatar
    Make the form change checker reset correctly with block config modal · 86f56e0c
    Aaron Wells authored
    Bug 1559796: Because the block config modal's "X" closer button is
    outside of the <form> tags of the new block, the standard form change
    checker code wasn't binding the "reset" event to it.
    
    Also, because the form change checker was written with the assumption
    that each form submitted to it would have a unique ID, you wind up with
    tons of forms in the formcheckers list, all with the same "instconf" id,
    one for each time you open the modal.
    
    Change-Id: I26c06c322d5c876e406a203647676cd73cda511d
    86f56e0c
BehatGeneral.php 49.1 KB