Changeset 3004

Show
Ignore:
Timestamp:
10/06/10 15:59:38
Author:
johnsa
Message:

user client: properly set categories on add/edit

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/deployment/webuser/webapp/resources/demoskins/themes/bedeworkTheme/eventForm.xsl

    r2986 r3004  
    681681                    <td> 
    682682                      <xsl:for-each select="form/categories/all/category[position() &lt;= ceiling($catCount div 2)]"> 
    683                         <input type="checkbox" name="catUid"/
     683                        <input type="checkbox" name="catUid"
    684684                          <xsl:attribute name="value"><xsl:value-of select="uid"/></xsl:attribute> 
    685                           <xsl:if test="uid = form/categories/current//category/uid"><xsl:attribute name="checked">checked</xsl:attribute></xsl:if> 
    686                           <xsl:value-of select="value"/> 
     685                          <xsl:if test="uid = ../../current//category/uid"><xsl:attribute name="checked">checked</xsl:attribute></xsl:if> 
     686                        </input> 
     687                        <xsl:value-of select="value"/> 
    687688                        <br/> 
    688689                      </xsl:for-each> 
     
    690691                    <td> 
    691692                      <xsl:for-each select="form/categories/all/category[position() &gt; ceiling($catCount div 2)]"> 
    692                         <input type="checkbox" name="catUid"/
     693                        <input type="checkbox" name="catUid"
    693694                          <xsl:attribute name="value"><xsl:value-of select="uid"/></xsl:attribute> 
    694                           <xsl:if test="uid = form/categories/current//category/uid"><xsl:attribute name="checked">checked</xsl:attribute></xsl:if> 
    695                           <xsl:value-of select="value"/> 
     695                          <xsl:if test="uid = ../../current//category/uid"><xsl:attribute name="checked">checked</xsl:attribute></xsl:if> 
     696                        </input> 
     697                        <xsl:value-of select="value"/> 
    696698                        <br/> 
    697699                      </xsl:for-each> 
  • trunk/deployment/webuser/webapp/resources/demoskins/themes/bedeworkTheme/javascript/bedeworkScheduling.js

    r2986 r3004  
    1818 */ 
    1919 
    20 /* ======================================================================== 
    21    This file builds a scheduling widget for the "meeting" tab of the  
    22    add/edit event form used for adding and removing attendees, observing 
    23    free/busy, and for picking available time in a free/busy grid.  
    24    ======================================================================== 
    25 */ 
     20 
     21/** This file builds a scheduling widget for the "meeting" tab of the  
     22 * add/edit event form used for adding and removing attendees, observing 
     23 * free/busy, and for picking available time in a free/busy grid.  
     24 * 
     25 * @author Arlen Johnson       johnsa - rpi.edu 
     26 */ 
    2627 
    2728// Constants and RFC-5445 values