Commit 7eb7fc97 authored by Kevin Dibble's avatar Kevin Dibble
Browse files

Bug 1822022: Dialog box cancel not closing

Updated Js library for referencing click event
for cancel button on dialog.


Change-Id: If0cfa88b645cccb17f8293b064e89575a399ccab
parent 3638776a
......@@ -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