diff options
author | Richard Wall <richard@aziz> | 2010-07-13 21:39:38 +0100 |
---|---|---|
committer | Richard Wall <richard@aziz> | 2010-07-13 21:39:38 +0100 |
commit | bc3156fff165b228e6da03411d6b5a98b8f490d5 (patch) | |
tree | 1666a98d341dfb80fe303238757040591b582715 /jarmon.js | |
parent | 32b1238c614531450edf253a9ab547519791ebfd (diff) |
Better control over the dhtml calendars
Diffstat (limited to 'jarmon.js')
-rw-r--r-- | jarmon.js | 9 |
1 files changed, 3 insertions, 6 deletions
@@ -717,12 +717,9 @@ jarmon.ChartCoordinator = function(ui) { }); } - // Don't set a default tzoffset if one has already been added to the form - if(tzoffsetEl.val() === '') { - // Default timezone offset based on localtime - var tzoffset = -1 * new Date().getTimezoneOffset() * 60 * 1000; - tzoffsetEl.val(tzoffset); - } + // Default timezone offset based on localtime + var tzoffset = -1 * new Date().getTimezoneOffset() * 60 * 1000; + tzoffsetEl.val(tzoffset); // Update the time ranges and redraw charts when the form is submitted this.ui.find('[name="action"]').bind('click', function(e) { |