From b84a85ad1345798f21b5f319dc11763a490aff46 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Wed, 4 Dec 2013 23:55:52 +0400 Subject: [PATCH] odd bug surfaced and fixed... Signed-off-by: Alex A. Naanou --- ui/keybindings.js | 2 +- ui/ui.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ui/keybindings.js b/ui/keybindings.js index 806f89fa..946fe39d 100755 --- a/ui/keybindings.js +++ b/ui/keybindings.js @@ -133,7 +133,7 @@ var KEYBOARD_CONFIG = { default: doc('Accept dialog', function(){ var f = $(':focus') - + // trigger the default button/summary action... // NOTE: for some reason checkboxes in dialogs do not work (not a biggie)... if(f.length > 0 diff --git a/ui/ui.js b/ui/ui.js index 432d9293..9b7ea98d 100755 --- a/ui/ui.js +++ b/ui/ui.js @@ -458,8 +458,8 @@ function showInOverlay(root, data){ dialog .append(data) - .on('click', function(){ - event.stopPropagation() + .on('click', function(evt){ + evt.stopPropagation() }) overlay.find('.content') .on('click', function(){