Changeset 3077
- Timestamp:
- 11/29/10 15:44:23
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/deployment/webuser/webapp/resources/demoskins/themes/bedeworkTheme/javascript/bedeworkScheduling.js
r3076 r3077 708 708 addAttendeeHtml += ' <span class="bwAddAttendeeSubFieldHead">' + bwAddAttendeeBookDisp + '</span>'; 709 709 addAttendeeHtml += ' <input type="radio" name="bwAddAttendeeAddrBk" value="/user/' + bwGrid.curUser + '/addressbook" checked="checked" onclick="changeClass(\'bwAddAttendeeTypeBlock\',\'invisible\');bwGrid.updateBookPath(this.value);">personal'; 710 addAttendeeHtml += ' <input type="radio" name="bwAddAttendeeAddrBk" value="/public" onclick="changeClass(\'bwAddAttendeeTypeBlock\',\'bwAddAttendeeSubField\');bwGrid.updateBookPath(this.form.bwAddAttendeeType.value);">public'; 710 // note: the public switch uses a separate click handler set after the display is written to the output (below) 711 addAttendeeHtml += ' <input type="radio" name="bwAddAttendeeAddrBk" id="bwAddAttendeePublicSwitch" value="/public" onclick="changeClass(\'bwAddAttendeeTypeBlock\',\'bwAddAttendeeSubField\');">public'; 711 712 addAttendeeHtml += ' </div>'; 712 713 addAttendeeHtml += ' <div class="invisible" id="bwAddAttendeeTypeBlock">'; … … 1026 1027 ); 1027 1028 1029 // add a handler for the public switch (not in-line like the others) 1030 $("#bwAddAttendeePublicSwitch").click(function(){ 1031 bwGrid.updateBookPath($('input:radio[name=bwAddAttendeeType]:checked').val()); 1032 }); 1033 1028 1034 // add attendee box - use jquery UI autocomplete 1029 1035 // carddavUrl supplied in bedework.js
