Hotfix editace korektur (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
							
								
									3b262a9bd9
								
							
						
					
					
						commit
						a3518d5c66
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -152,7 +152,7 @@ function box_edit(oid, action) | ||||||
| 	var text; | 	var text; | ||||||
| 	if (action == 'update') { | 	if (action == 'update') { | ||||||
| 		var text_el = document.getElementById(oid + '-text'); | 		var text_el = document.getElementById(oid + '-text'); | ||||||
| 		text = text_el.innerHTML.unescapeHTML(); | 		text = text_el.textContent; // FIXME původně tu bylo innerHTML.unescapeHTML()
 | ||||||
| 
 | 
 | ||||||
| 	} else { | 	} else { | ||||||
| 		text = ''; | 		text = ''; | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue