From 63822bacd44d964df3596f928f44a56ab5625d4f Mon Sep 17 00:00:00 2001 From: Filipp Lepalaan Date: Tue, 13 Apr 2010 13:33:26 +0300 Subject: Better everything --- public/js/atwork.js | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'public/js') 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'); -- cgit v1.2.3