mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-05-19 14:01:38 -04:00
Fix customer field focus in register screen
This commit is contained in:
@@ -422,7 +422,8 @@ $(document).ready(function()
|
||||
|
||||
$('#item, #customer').focus(function()
|
||||
{
|
||||
if ($(this).val() == "<?php echo $this->lang->line('sales_start_typing_item_name'); ?>")
|
||||
if ($(this).val().match("<?php echo $this->lang->line('sales_start_typing_item_name') . '|' .
|
||||
$this->lang->line('sales_start_typing_customer_name'); ?>"))
|
||||
{
|
||||
$(this).val('');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user