diff options
author | matt <matt@59fd770c-687e-43c8-a1e3-f5a4ff64c105> | 2010-06-23 07:45:36 +0400 |
---|---|---|
committer | matt <matt@59fd770c-687e-43c8-a1e3-f5a4ff64c105> | 2010-06-23 07:45:36 +0400 |
commit | 7e1b5d6b762340cbff1bb928d15815980c7649a7 (patch) | |
tree | e07da179b9e1372866d2349777bd1cc6b4c9e8cf /plugins/CoreHome/templates/date.js | |
parent | 999f46479294713104c962bfe7469e9b6e7a4bbf (diff) | |
parent | c98ea06f2cccec81c6ccce49162a583494e44d91 (diff) |
Diffstat (limited to 'plugins/CoreHome/templates/date.js')
-rw-r--r-- | plugins/CoreHome/templates/date.js | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/plugins/CoreHome/templates/date.js b/plugins/CoreHome/templates/date.js index 7ca90166a6..4b33793a55 100644 --- a/plugins/CoreHome/templates/date.js +++ b/plugins/CoreHome/templates/date.js @@ -1,7 +1,7 @@ $(document).ready(function(){ $("#periodString").hide(); $("#otherPeriods").hide(); - $("#calendar").hide(); + $("#datepicker").hide(); $("#periodString").show(); // we get the content of the div before modifying it (append image, etc.) @@ -54,7 +54,7 @@ $(document).ready(function(){ { $("#currentPeriod:not(.hoverPeriod)") .addClass("hoverPeriod") - .append(' <img src="plugins/CoreHome/templates/images/more_period.gif" style="vertical-align:middle">'); + .append(' <img src="plugins/CoreHome/templates/images/more_period.gif" style="vertical-align:middle" />'); } }, function(){ restoreCurrentPeriod(); @@ -83,6 +83,10 @@ $(document).ready(function(){ }) .click(function(){ - $("#calendar").toggle(); + $("#datepicker").toggle(); + if($("#datepicker").is(":visible")) + { + $("#datepicker .ui-state-highlight").removeClass('ui-state-highlight'); + } }); } ); |