mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-03-19 23:47:01 -04:00
Update register.php
- Remove unused variable : $cur_item_info - Change .click for .focus : correct a bug when the text doesn't disappear on chrome after changing tab
This commit is contained in:
@@ -86,7 +86,6 @@ else
|
||||
{
|
||||
foreach(array_reverse($cart, true) as $line=>$item)
|
||||
{
|
||||
$cur_item_info = $this->Item->get_info($item['item_id']);
|
||||
echo form_open("sales/edit_item/$line");
|
||||
?>
|
||||
<tr>
|
||||
@@ -407,7 +406,7 @@ $(document).ready(function()
|
||||
$(this).attr('value',"<?php echo $this->lang->line('sales_start_typing_item_name'); ?>");
|
||||
});
|
||||
|
||||
$('#item,#customer').click(function()
|
||||
$('#item,#customer').focus(function()
|
||||
{
|
||||
$(this).attr('value','');
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user