mirror of
https://github.com/fspc/Yellow-Bike-Database.git
synced 2026-09-03 10:21:38 -04:00
Changes the header for shop_log and start_shop.
1) Pages will go back to shop_welcome (original behavior) but for these two pages. This prevents transaction pages from going back. 2) Added an About/Help link to the left. 3) Changed the width/margin of the associated tables so that it would line up withe new table presenting the menu links.
This commit is contained in:
+12
-5
@@ -1,12 +1,19 @@
|
||||
$(function(){
|
||||
|
||||
"use strict";
|
||||
"use strict";
|
||||
|
||||
// sensible defaults
|
||||
$("#shop_date").mask("0000-00-00", {placeholder: "yyyy-mm-dd" });
|
||||
// sensible defaults
|
||||
$("#shop_date").mask("0000-00-00", {placeholder: "yyyy-mm-dd" });
|
||||
|
||||
$("[name='contact_id']").attr("tabindex",1);
|
||||
$("[name='contact_id']").trigger('chosen:activate');
|
||||
$("[name='user_role']").attr("tabindex",2);
|
||||
$("[name='time_in']").attr("tabindex",3);
|
||||
$("[name='project']").attr("tabindex",4);
|
||||
$("[name='comment']").attr("tabindex",5);
|
||||
$("[name='Submit']").attr("tabindex",6);
|
||||
|
||||
|
||||
// error handler for shops with a popup dialog
|
||||
// error handler for shops with a popup dialog (TODO)
|
||||
function error_handler(input,error_span,error,error_text,event) {
|
||||
var trans_error = 0;
|
||||
if ( input == error ) {
|
||||
|
||||
Reference in New Issue
Block a user