summaryrefslogtreecommitdiffstats
path: root/public/js
diff options
context:
space:
mode:
authorFilipp Lepalaan <filipp@mac.com>2010-04-13 13:33:26 +0300
committerFilipp Lepalaan <filipp@mac.com>2010-04-13 13:33:26 +0300
commit63822bacd44d964df3596f928f44a56ab5625d4f (patch)
tree2629dfc3af9e1b67fbc0b7efa8cf4913ab4b40a6 /public/js
parent6f2e6899cc404f314648782920e343c8529885d3 (diff)
downloadatwork-63822bacd44d964df3596f928f44a56ab5625d4f.tar.gz
atwork-63822bacd44d964df3596f928f44a56ab5625d4f.tar.bz2
atwork-63822bacd44d964df3596f928f44a56ab5625d4f.zip
Better everything
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');