1
0
mirror of https://github.com/fspc/BikeShed-1.git synced 2025-02-28 08:43:23 -05:00

Fix: HTML injection

This commit is contained in:
Ilya Konanykhin 2017-01-18 14:59:48 +06:00
parent 76980a8903
commit 4dcce60fb8

View File

@ -59,9 +59,9 @@ $(document).ready(function () {
var start_date = row.data("start_date"); var start_date = row.data("start_date");
var duration = row.data("duration"); var duration = row.data("duration");
var description = row.data("description"); var description = row.data("description");
$("#work_entry_start_date").html(start_date); $("#work_entry_start_date").text(start_date);
$("#work_entry_duration").html(duration); $("#work_entry_duration").text(duration);
$("#work_entry_description").html(description); $("#work_entry_description").text(description);
$("#confirmation_delete").data("entry_id", entry_id); $("#confirmation_delete").data("entry_id", entry_id);
}); });