From 3cd8244320b538d58d6cb3ed4861c129bb74143d Mon Sep 17 00:00:00 2001 From: Janusz Dobrowolski Date: Tue, 10 Jun 2008 07:33:56 +0000 Subject: [PATCH] Added content selection on focus for list search boxes --- CHANGELOG.txt | 3 ++- js/inserts.js | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.txt b/CHANGELOG.txt index 2c32127d..54cd9c2b 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -32,7 +32,8 @@ $ /includes/ui/ui_lists.inc /manufacturing/inquiry/where_used_inquiry.php /manufacturing/manage/bom_edit.php /purchasing/includes/ui/po_ui.inc - + /js/inserts.js + 09-Jun-2008 Janusz Dobrowolski # Some additional fixes related to last big committment $ /gl/gl_journal.php diff --git a/js/inserts.js b/js/inserts.js index 2b244ec5..235de181 100644 --- a/js/inserts.js +++ b/js/inserts.js @@ -130,6 +130,8 @@ var inserts = { if(e.onfocus==undefined) { e.onfocus = function() { save_focus(this); + if (this.className == 'combo') + this.select(); }; } if (e.className == 'combo' || e.className == 'combo2') { -- 2.30.2