20 Jan 2017, 7:12 PM
Zen Follower
- Join Date:
- Dec 2008
- Location:
- Pittsburgh, PA
- Posts:
- 241
- Plugin Contributions:
- 0
Customers.php "Focus" Search Field (saves a click)
zen-cart 1.5.5d
admin/customers.php
around line 583
if (document.getElementById)
{
var kill = document.getElementById('hoverJS');
kill.disabled = true;
}
}
to
if (document.getElementById)
{
var kill = document.getElementById('hoverJS');
kill.disabled = true;
document.forms['search'].elements['search'].focus();
}
}
I know this is the smallest change but hey I'm learning.