From d5549a3813e1fade663ee64e7026d510e8b09e64 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Wed, 18 Jan 2017 03:38:57 +0300 Subject: [PATCH] minor fixes and tweaking... Signed-off-by: Alex A. Naanou --- ui (gen4)/features/keyboard.js | 6 +++--- ui (gen4)/lib/widget/browse.js | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ui (gen4)/features/keyboard.js b/ui (gen4)/features/keyboard.js index dbc5de88..0c032fd7 100755 --- a/ui (gen4)/features/keyboard.js +++ b/ui (gen4)/features/keyboard.js @@ -1151,7 +1151,7 @@ var KeyboardActions = actions.Actions({ callback: function(){ dialog.close() }, timeout: that.config['confirm-delete-timeout'] || 2000, buttons: [ - ['Cancel', function(){ + ['Cancel edit', function(){ abort = true make.dialog.close() }], @@ -1211,7 +1211,7 @@ var KeyboardActions = actions.Actions({ }, timeout: that.config['confirm-delete-timeout'] || 2000, buttons: [ - ['Cancel', function(){ + ['Cancel edit', function(){ abort = true make.dialog.close() }], @@ -1264,7 +1264,7 @@ var KeyboardActions = actions.Actions({ }, timeout: that.config['confirm-delete-timeout'] || 2000, buttons: [ - ['Cancel', function(){ + ['Cancel edit', function(){ abort = true make.dialog.close() }], diff --git a/ui (gen4)/lib/widget/browse.js b/ui (gen4)/lib/widget/browse.js index 0cc69412..c59257ed 100755 --- a/ui (gen4)/lib/widget/browse.js +++ b/ui (gen4)/lib/widget/browse.js @@ -94,7 +94,7 @@ function(text, options){ var timeout = options.timeout || 2000 var confirm_text = options.confirm_text ? options.confirm_text - : 'Confirm '+ elem.text().toLowerCase() +'?' + : 'Confirm '+ elem.find('.text').text().toLowerCase() +'?' var text return elem