From 926d121f882083c916bedcc0dec73ce0cbb4b506 Mon Sep 17 00:00:00 2001 From: patrick Date: Sun, 28 Jul 2019 06:25:53 +1000 Subject: [PATCH] show messagebox when clicking on total hours --- css/bts_timesheet.css | 6 +++++- js/bts_timesheet.js | 4 ++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/css/bts_timesheet.css b/css/bts_timesheet.css index 51169a9..6cbff78 100644 --- a/css/bts_timesheet.css +++ b/css/bts_timesheet.css @@ -293,8 +293,12 @@ div.peopleitem label:hover :checked + .card { display: inline-block; position: absolute; right: 220px; + +} +.statusbar #woh:hover { + cursor: pointer; + animation: blinker 0.3s linear infinite; } - .workinghours label { transform: unset; left: 0; diff --git a/js/bts_timesheet.js b/js/bts_timesheet.js index 9e9e4c3..0e7314a 100644 --- a/js/bts_timesheet.js +++ b/js/bts_timesheet.js @@ -1153,6 +1153,10 @@ show_loading_jobs(); } + $('div.workinghours').click(function(){ + $('div.bts_message_button').trigger('click'); + }); + $('button[name="confirmschedule"]').click(function(){ if (!confirm('sending email to each staff for their job arrangement?')) return;