Changeset 2974
- Timestamp:
- 08/11/10 10:35:23
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/deployment/webuser/webapp/resources/demoskins/themes/bedeworkTheme/eventForm.xsl
r2953 r2974 199 199 </li>--> 200 200 </ul> 201 201 202 202 203 <!-- Basic tab --> … … 835 836 <!-- has recurrenceId, so is master --> 836 837 838 <!-- the switch is current required to turn recurrence on or off - we can probably infer this instead --> 839 <div id="recurringSwitch"> 840 <!-- set or remove "recurring" and show or hide all recurrence fields: --> 841 <input type="radio" name="recurring" value="true" onclick="swapRecurrence(this)"> 842 <xsl:if test="form/recurringEntity = 'true'"><xsl:attribute name="checked">checked</xsl:attribute></xsl:if> 843 </input> <xsl:copy-of select="$bwStr-AEEF-EventRecurs"/> 844 <input type="radio" name="recurring" value="false" onclick="swapRecurrence(this)"> 845 <xsl:if test="form/recurringEntity = 'false'"><xsl:attribute name="checked">checked</xsl:attribute></xsl:if> 846 </input> <xsl:copy-of select="$bwStr-AEEF-EventDoesNotRecur"/> 847 </div> 848 837 849 <!-- wrapper for all recurrence fields (rrules and rdates): --> 838 <div id="recurrenceFields" >850 <div id="recurrenceFields" class="invisible"> 839 851 <xsl:if test="form/recurringEntity = 'true'"><xsl:attribute name="class">visible</xsl:attribute></xsl:if> 840 852 trunk/deployment/webuser/webapp/resources/demoskins/themes/bedeworkTheme/javascript/bedeworkScheduling.js
r2968 r2974 1055 1055 ); 1056 1056 1057 // a uto-completion for add attendee input field - DEPRECATED1057 // add attendee box - use jquery UI autocomplete 1058 1058 // carddavUrl supplied in bedework.js 1059 1059 // var carddavUrlTemp = "/ucalrsrc/themes/bedeworkTheme/javascript/addrbookUsers.js" 1060 1060 // var carddavUrlTemp = "/ucalrsrc/themes/bedeworkTheme/javascript/addrbookLocations.js" 1061 //$("#bwScheduleTable #bwAddAttendee").autocomplete(carddavUrl, bwAutoCompleteOptions);1062 1063 // add attendee box - use jquery UI autocomplete1064 1061 $("#bwScheduleTable #bwAddAttendee").autocomplete({ 1065 1062 minLength: 1, 1066 1063 // set the data source, call it, and format the results: 1067 1064 source: function(req, include) { 1068 // build the address book url; the path to the addressbook is determined by the 1069 // radio button choices in the "add attendee" widget 1065 // build the address book url; the path to the address book is determined by the 1066 // radio button choices in the "add attendee" widget - these are stored on the fly 1067 // in the hidden field with id bwCardDavBookPath 1070 1068 addrBookUrl = carddavUrl + "?format=json&addrbook=" + $("#bwCardDavBookPath").val(); 1071 1069 1072 // call the server and formatthe results into an array "items"1070 // call the server and push the results into an array "items" 1073 1071 $.getJSON(addrBookUrl, req, function(data) { 1074 1072 var acResults; … … 1108 1106 } 1109 1107 1110 // only add the entry if there is a uri and a lab leto use1108 // only add the entry if there is a uri and a label to use 1111 1109 if (curUri != "" && curLabel != "") { 1112 1110 var curItem = {label: curLabel, value: curUri};
