Upozorňovat při zavírání okénka editace komentáře
This commit is contained in:
		
							parent
							
								
									e257f31ea5
								
							
						
					
					
						commit
						7da9aa5fe3
					
				
					 2 changed files with 3 additions and 2 deletions
				
			
		|  | @ -102,7 +102,6 @@ form { | |||
| 	top:0px; | ||||
| } | ||||
| #commform-div { | ||||
| 	display: none; | ||||
| 	position: absolute; | ||||
| 	background-color: white; | ||||
| 	border: 1px solid; | ||||
|  |  | |||
|  | @ -1,4 +1,4 @@ | |||
| <div id="commform-div"> | ||||
| <div id="commform-div" style="display: none"> | ||||
|     <form action='' id="commform" method="POST"> | ||||
|         {% csrf_token %} | ||||
|         <input size="24" name="au" value="{{user.first_name}} {{user.last_name}}" readonly/> | ||||
|  | @ -57,6 +57,8 @@ | |||
|       return 1; | ||||
|     } | ||||
| 
 | ||||
|     if (formdiv.style.display !== 'none' && !confirm("Zavřít předchozí okénko přidávání korektury / editace komentáře?")) return 1; | ||||
| 
 | ||||
|     //form.action = "#" +  img_id; | ||||
| 
 | ||||
|     // set hidden values | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue