mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-10-21 07:44:37 -04:00
Fix customer field focus in register screen
This commit is contained in:
1 parent
b311eca62e
commit
6bd6080ccc
1 file changed
+2
-1
@@ -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