Add ability to edit employee time sheet
Also disable some unwanted autocomplete logic, plus add ability to prevent autocomplete "change click" event
This commit is contained in:
parent
2e88cdde88
commit
7104e275c3
11 changed files with 467 additions and 302 deletions
|
@ -259,24 +259,6 @@ $(function() {
|
|||
|
||||
});
|
||||
|
||||
/*
|
||||
* Whenever the "change" button is clicked within the context of an
|
||||
* autocomplete field, hide the static display and show the autocomplete
|
||||
* textbox.
|
||||
*/
|
||||
$('div.autocomplete-container button.autocomplete-change').click(function() {
|
||||
var container = $(this).parents('div.autocomplete-container');
|
||||
var textbox = container.find('input.autocomplete-textbox');
|
||||
|
||||
container.find('input[type="hidden"]').val('');
|
||||
container.find('div.autocomplete-display').hide();
|
||||
|
||||
textbox.val('');
|
||||
textbox.show();
|
||||
textbox.select();
|
||||
textbox.focus();
|
||||
});
|
||||
|
||||
/*
|
||||
* Add "check all" functionality to tables with checkboxes.
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue