Files
tms/extensions/ki_timesheets/js/ts_init.js
TMS eb299c9131 Initial commit: Kimai TMS
Kimai time management system (PHP 5.6 / MySQL) with custom extensions:
- Budget tracking (ki_budget)
- Change request form (ki_changerequest)
- Invoice generation (ki_invoice)
- Expense tracking (ki_expenses)
- Flexi time (ki_flexitime)
- Export, admin panel, timesheets, tasks, summary

Database: ~900K time entries, 2,000+ users, 439 projects.
Config: includes/autoconf.php — localhost/kimai/kimai
2026-06-18 21:20:26 +00:00

54 lines
1.4 KiB
JavaScript

/**
* This file is part of
* Kimai - Open Source Time Tracking // http://www.kimai.org
* (c) 2006-2009 Kimai-Development-Team
*
* Kimai is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; Version 3, 29 June 2007
*
* Kimai is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with Kimai; If not, see <http://www.gnu.org/licenses/>.
*/
// ===========
// TS EXT init
// ===========
// set path of extension
var ts_ext_path = "../extensions/ki_timesheets/";
var ts_total = '';
var scroller_width;
var drittel;
var zef_w;
var zef_h;
var ts_tss_hook_flag = 0;
var ts_rec_hook_flag = 0;
var ts_stp_hook_flag = 0;
var ts_chk_hook_flag = 0;
var ts_chp_hook_flag = 0;
var ts_che_hook_flag = 0;
var ts_dayFormatExp = new RegExp("^([0-9]{1,2})\.([0-9]{1,2})\.([0-9]{2,4})$");
var ts_timeFormatExp = new RegExp("^([0-9]{1,2})(:[0-9]{1,2})?(:[0-9]{1,2})?$");
$(document).ready(function(){
var ts_resizeTimer = null;
$(window).bind('resize', function() {
if (ts_resizeTimer) clearTimeout(ts_resizeTimer);
ts_resizeTimer = setTimeout(ts_ext_resize, 500);
});
});