[jboss-cvs] jboss-seam/src/ui/org/jboss/seam/ui/resource/date ...

Shane Bryzak sbryzak at redhat.com
Wed Mar 21 02:43:46 EDT 2007


  User: sbryzak2
  Date: 07/03/21 02:43:46

  Modified:    src/ui/org/jboss/seam/ui/resource/date  calendar.js
  Log:
  minor
  
  Revision  Changes    Path
  1.8       +5 -5      jboss-seam/src/ui/org/jboss/seam/ui/resource/date/calendar.js
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: calendar.js
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/src/ui/org/jboss/seam/ui/resource/date/calendar.js,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -b -r1.7 -r1.8
  --- calendar.js	15 Mar 2007 02:23:00 -0000	1.7
  +++ calendar.js	21 Mar 2007 06:43:46 -0000	1.8
  @@ -480,7 +480,7 @@
     {
       var html = "";
   
  -    html += "<table style=\"" + this.styleClass + "\">";
  +    html += "<table class=\"" + this.styleClass + "\">";
       html += this.buildDayHeaders();
       html += this.buildDays();
       html += this.buildFooter();
  @@ -518,9 +518,9 @@
   
       if (!this.staticCalendar)
       {
  -      html += "<div id=\"" + this.getCalendarId() + "_months" + "\" class=\"" + this.styleClass + "-monthNames\" style=\"position:absolute;display:block;visibility:hidden\">";
  +      html += "<div id=\"" + this.getCalendarId() + "_months" + "\" class=\"" + this.styleClass + "-monthNames\" style=\"position:absolute;display:block;visibility:hidden;\">";
         for (var month = 0; month < this.monthNames.length; month++)
  -      html += "<a class=\"" + this.styleClass + "-monthNameLink\" onclick=\"javascript:__calendarFactory.getCalendar(" + this.calendarNumber + ").gotoMonth(" + (month + 1) + ");\">" + this.monthNames[month] + "</a>";
  +        html += "<div><a class=\"" + this.styleClass + "-monthNameLink\" onclick=\"javascript:__calendarFactory.getCalendar(" + this.calendarNumber + ").gotoMonth(" + (month + 1) + ");\">" + this.monthNames[month] + "</a></div>";
         html += "</div>";
         html += "</span>";
       }
  @@ -532,7 +532,7 @@
       if (!this.staticCalendar)
       {
         html += "<div id=\"" + this.getCalendarId() + "_years" + "\" class=\"" + this.styleClass + "-years\" style=\"position:absolute;display:block;visibility:hidden\"></div>"; 
  -      html += "<span onclick=\"javascript:__calendarFactory.getCalendar(" + this.calendarNumber + ").popupYears();\" style=\"cursor:pointer;\">" + this.selectedYear + "</span></td>";
  +      html += "<span onclick=\"javascript:__calendarFactory.getCalendar(" + this.calendarNumber + ").popupYears();\" style=\"cursor:pointer\">" + this.selectedYear + "</span></td>";
       }
       else
         html += this.selectedYear + "</td>";
  @@ -782,7 +782,7 @@
         var end = (this.endYear == -1) ? this.selectedYear + 10 : this.endYear;
         
         for (year = begin; year <= end; year++)
  -        html += "<a class=\"" + this.styleClass + "-yearLink\" onclick=\"javascript:__calendarFactory.getCalendar(" + this.calendarNumber + ").gotoYear(" + (year) + ");\">" + year + "</a>";
  +        html += "<div><a class=\"" + this.styleClass + "-yearLink\" onclick=\"javascript:__calendarFactory.getCalendar(" + this.calendarNumber + ").gotoYear(" + (year) + ");\">" + year + "</a></div>";
         var ctl = getObject(divName);
         ctl.innerHTML = html;
   
  
  
  



More information about the jboss-cvs-commits mailing list