projects
/
textcart.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
88e1463
)
*** empty log message ***
author
Joe Hunt
<joe.hunt.consulting@gmail.com>
Wed, 30 Jan 2008 23:37:49 +0000
(23:37 +0000)
committer
Joe Hunt
<joe.hunt.consulting@gmail.com>
Wed, 30 Jan 2008 23:37:49 +0000
(23:37 +0000)
includes/ui/ui_lists.inc
patch
|
blob
|
history
diff --git
a/includes/ui/ui_lists.inc
b/includes/ui/ui_lists.inc
index b75d66c8af1c313aae9d6e0175d1bc857990b381..a29dda765317e30b0fa476cd15a35a50a620e728 100644
(file)
--- a/
includes/ui/ui_lists.inc
+++ b/
includes/ui/ui_lists.inc
@@
-905,6
+905,7
@@
function stock_purchasable_items_list($name, &$selected_id, $all_option=false, $
if ($no_item_list)
{
+ global $search_button;
$edit_name = $name."_edit";
$edit_button = $name."_button";
@@
-937,9
+938,9
@@
function stock_purchasable_items_list($name, &$selected_id, $all_option=false, $
$result = false;
}
- echo "<input type='text' name='$edit_name' size='8' maxlength='50' value='$val' > ";
+ echo "<input type='text' name='$edit_name' size='8' maxlength='50' value='$val'
onblur='this.form.$edit_button.click();'
> ";
- echo
"<input type='submit' class='inputsubmit' name='$edit_button' value='?'> "
;
+ echo
sprintf($search_button, $edit_button)
;
}
else
{