Commit 0540b3e1 authored by Robert Lyon's avatar Robert Lyon Committed by Gerrit Code Review
Browse files

Merge "Bug 1822022: Dialog box cancel not closing"

parents c7332713 7eb7fc97
......@@ -996,7 +996,7 @@
*/
function setupPositionBlockDialog() {
$('#newblock .cancel, #newblock .deletebutton').on('mousedown keydown', function(e) {
$('#newblock .cancel, #addblock .deletebutton').on('mousedown keydown', function(e) {
if (isHit(e) || e.keyCode === $j.ui.keyCode.ESCAPE) {
closePositionBlockDialog(e, {'saved': false});
}
......
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