summaryrefslogtreecommitdiffstats
path: root/public/js
diff options
context:
space:
mode:
Diffstat (limited to 'public/js')
-rw-r--r--public/js/atwork.js13
1 files changed, 7 insertions, 6 deletions
diff --git a/public/js/atwork.js b/public/js/atwork.js
index f4a306b..145636a 100644
--- a/public/js/atwork.js
+++ b/public/js/atwork.js
@@ -1,6 +1,5 @@
-/**
- * atwork/js/atwork.js
- */
+////
+// atwork/js/atwork.js
function lpad(str, pad, len)
{
@@ -37,9 +36,9 @@ $(function()
$('#dialog').dialog({
autoOpen: false,
- height:340,
- width:400,
- modal:true,
+ height:380,
+ width:395,
+ modal:false,
draggable:false,
resizable:false,
buttons: {
@@ -48,6 +47,8 @@ $(function()
},
'Oletus': function() {
// Sets default hours
+ $('#type').val('1');
+ $('#lunch').attr('checked', 'checked');
$('.start_h:first').val('10');
$('.start_m:first').val('00');
$('.finish_h:first').val('18');