This commit is contained in:
JT Smith 2004-09-28 20:00:09 +00:00
parent fe988fca0d
commit 9e38cb81e0
4 changed files with 7 additions and 9 deletions

View file

@ -1,5 +1,8 @@
6.2.6
- Fixed a GUID bug in the Site Map wobject.
- Removed debugging from the events calendar that should have been removed
before the last release.
- bugfix [ 1033670 ] JAVASCRIPT BUG
6.2.5

View file

@ -1,6 +1,6 @@
package WebGUI;
our $VERSION = "6.2.5";
our $STATUS = "beta";
our $VERSION = "6.2.6";
our $STATUS = "gamma";
#-------------------------------------------------------------------
# WebGUI is Copyright 2001-2004 Plain Black Corporation.

View file

@ -113,7 +113,7 @@ sub _selectPositions {
-value=>$_[0],
-namespace=>"page",
-afterEdit=>'op=editPage&npp='.$session{form}{npp},
-extras=>'onChange="changeTemplatePreview(this.form.templateId.value)"'
-extras=>'onChange="changeTemplatePreview(\'this.form.templateId.value\')"'
);
$output = '
<script language="JavaScript">
@ -152,7 +152,7 @@ sub _selectPositions {
if(pbw.bw){
oMessage=new makeChangeTextObj("templatePreview");
oMessage.css.visibility="visible";
changeTemplatePreview('.$_[0].');
changeTemplatePreview(\''.$_[0].'\');
}
}
onload=init

View file

@ -395,15 +395,10 @@ sub www_view {
} elsif ($_[0]->get("endMonth") eq "after3") {
$maxDate = WebGUI::DateTime::addToDate($minDate,0,3,0);
}
WebGUI::ErrorHandler::warn("Min:".$minDate);
WebGUI::ErrorHandler::warn("Max:".$maxDate);
$maxDate = $maxDate || WebGUI::DateTime::time();
WebGUI::ErrorHandler::warn("Max:".$maxDate);
($junk,$maxDate) = WebGUI::DateTime::dayStartEnd($maxDate);
WebGUI::ErrorHandler::warn("Max:".$maxDate);
my $monthCount = WebGUI::DateTime::monthCount($minDate,$maxDate);
WebGUI::ErrorHandler::warn("Count:".$monthCount);
unless ($session{form}{calPn}) {
$flag = 1;
if ($_[0]->get("defaultMonth") eq "current") {