Hotfix editace komentářů (možná něco rozbil)
Možná rozbil bezpečnost, ale orgové se doufám hackovat nebudou. Možná rozbil html v korekturách, ale ty snad orgové také nepoužívají.
This commit is contained in:
		
							parent
							
								
									a3518d5c66
								
							
						
					
					
						commit
						2efcb4d7d6
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -174,7 +174,7 @@ function update_comment(oid,ktid) | ||||||
| 	var dy = parseInt(divpointer.style.top); | 	var dy = parseInt(divpointer.style.top); | ||||||
| 	 | 	 | ||||||
| 	var divbox = document.getElementById(oid); | 	var divbox = document.getElementById(oid); | ||||||
| 	var text = document.getElementById(ktid).innerHTML.unescapeHTML(); | 	var text = document.getElementById(ktid).textContent; // FIXME původně tu bylo innerHTML.unescapeHTML()
 | ||||||
| 
 | 
 | ||||||
| 	return show_form(divbox.img_id, dx, dy, ktid.substring(2), text, 'update-comment'); | 	return show_form(divbox.img_id, dx, dy, ktid.substring(2), text, 'update-comment'); | ||||||
| } | } | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue