Changeset 2789
- Timestamp:
- 11/16/07 05:41:42 (10 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
teamrosterplugin/0.11/tracteamroster/htdocs/js/teamroster.js
r2720 r2789 79 79 $(".tr_editable.file") 80 80 .click(function(){ 81 if(this.innerHTML=='[blank]')this.innerHTML=''; 82 var newTextareaElement=document.createElement('INPUT'); 83 newTextareaElement.type="FILE"; 84 newTextareaElement.name=this.getAttribute('name'); 85 this.parentNode.appendChild(newTextareaElement); 86 newTextareaElement.form.enctype="multipart/form-data"; 81 var newFileElement=document.createElement('INPUT'); 82 newFileElement.name=this.getAttribute('name'); 83 newFileElement.type="FILE"; 84 this.parentNode.appendChild(newFileElement); 85 newFileElement.form.enctype="multipart/form-data"; 87 86 this.style.display='none'; 88 87 teamroster_notifyContainer($(this).parents('.tr_userProfile:first'), this); teamrosterplugin/0.11/tracteamroster/templates/admin_teamroster_team.html
r2720 r2789 93 93 <tr> 94 94 <td colspan="5" > 95 <form method="POST" action="#tr_userProfile_$userProfile.id" >95 <form method="POST" action="#tr_userProfile_$userProfile.id" enctype="multipart/form-data"> 96 96 <div class="tr_userProfile" id="tr_userProfile_$userProfile.id" style="display:${userProfile.id == teamRoster.lastUpdatedProfile.id and 'block' or 'none'}"> 97 97 <input type="hidden" name="tr_userProfile_id" value="$userProfile.id"/>
