|
|
@ -152,7 +152,7 @@ function box_edit(oid, action) |
|
|
|
var text; |
|
|
|
if (action == 'update') { |
|
|
|
var text_el = document.getElementById(oid + '-text'); |
|
|
|
text = text_el.innerHTML.unescapeHTML(); |
|
|
|
text = text_el.textContent; // FIXME původně tu bylo innerHTML.unescapeHTML()
|
|
|
|
|
|
|
|
} else { |
|
|
|
text = ''; |
|
|
@ -174,7 +174,7 @@ function update_comment(oid,ktid) |
|
|
|
var dy = parseInt(divpointer.style.top); |
|
|
|
|
|
|
|
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'); |
|
|
|
} |
|
|
|