mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-29 10:57:44 +09:00 
			
		
		
		
	Skip dirty check for team forms (#21154)
The dirty check is not usefull for these forms.
This commit is contained in:
		| @@ -9,7 +9,7 @@ | ||||
| 				{{template "org/team/navbar" .}} | ||||
| 				{{if .IsOrganizationOwner}} | ||||
| 					<div class="ui attached segment"> | ||||
| 						<form class="ui form" id="add-member-form" action="{{$.OrgLink}}/teams/{{$.Team.LowerName | PathEscape}}/action/add" method="post"> | ||||
| 						<form class="ui form ignore-dirty" id="add-member-form" action="{{$.OrgLink}}/teams/{{$.Team.LowerName | PathEscape}}/action/add" method="post"> | ||||
| 							{{.CsrfTokenHtml}} | ||||
| 							<input type="hidden" name="uid" value="{{.SignedUser.ID}}"> | ||||
| 							<div class="inline field ui left"> | ||||
|   | ||||
| @@ -11,7 +11,7 @@ | ||||
| 				{{if $canAddRemove}} | ||||
| 					<div class="ui attached segment" id="repo-top-segment"> | ||||
| 						<div class="inline ui field left"> | ||||
| 							<form class="ui form" id="add-repo-form" action="{{$.OrgLink}}/teams/{{$.Team.LowerName | PathEscape}}/action/repo/add" method="post"> | ||||
| 							<form class="ui form ignore-dirty" id="add-repo-form" action="{{$.OrgLink}}/teams/{{$.Team.LowerName | PathEscape}}/action/repo/add" method="post"> | ||||
| 								{{.CsrfTokenHtml}} | ||||
| 								<div class="inline field ui left"> | ||||
| 									<div id="search-repo-box" data-uid="{{.Org.ID}}" class="ui search"> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user