From c72cc2c8f51b72dfeb8ca9d86a2b7e077ba6517c Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Fri, 24 Dec 2010 07:50:42 -0500 Subject: [PATCH] Browse foreign values did not work with inline edit Use known message "Browse foreign values" instead of "Search foreign data" Use jQuery to attach handler instead of "onclick" for browse_foreigners.php when called from sql.php --- browse_foreigners.php | 10 ++++++++++ js/sql.js | 41 ++++++++++++++++++++++++++++++++++++++--- sql.php | 8 ++++---- 3 files changed, 52 insertions(+), 7 deletions(-) diff --git a/browse_foreigners.php b/browse_foreigners.php index 75f9be5f5..a936d6081 100644 --- a/browse_foreigners.php +++ b/browse_foreigners.php @@ -98,6 +98,16 @@ require_once './libraries/header_scripts.inc.php'; // $column ); - $dropdown = 'Search Foreign Data'; + $dropdown = '' . htmlspecialchars($_REQUEST['curr_value']) . ' ' . __('Browse foreign values') . ''; } else { $dropdown = '';