* Provides contact search in transaction_log
* future: may improve calendar search with PickMeUp?
This commit is contained in:
Jonathan Rosenbaum
2018-05-13 00:03:01 +00:00
parent 46be9fa887
commit 305ebee833
3 changed files with 31 additions and 5 deletions
+5 -1
View File
@@ -10,9 +10,10 @@ $(function() {
// but all ajax needs to be synchronous in this program because of the use of an "ancient" mysql
$("[name='transaction_type']").attr("tabindex",1);
$("[name='transaction_type']").focus();
$("[name='transaction_type']").focus().scrollTop();
$("input[value='Create Transaction']").attr("tabindex",2);
$("#trans_date").mask("0000-00-00", {placeholder: "yyyy-mm-dd" });
$("[name='contact_id']").attr("tabindex",3);
// Add focus for easier tab browsing
// use .paid parent and hover & classes
@@ -183,7 +184,10 @@ $(function() {
}
}
});
// contact search on main page
$("select[name='contact_id_search']").chosen();
// transaction slider - on reload
transaction_slider();