https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28675

--- Comment #4 from Victor Grousset/tuxayo <[email protected]> ---
So. <input> are put in the datatable object by the callback of the "add quote"
button. And the display of a cell must not escape them.

So if we keep the same logic, we have to escape the text from the server but
not the text from the callback of the "add quote" button.

One way to do that is by removing the cell escape and escape the data when the
ajax request comes back.

https://datatables.net/reference/option/ajax
in the example:
«Manipulate the data returned from the server»
So the dataSrc callback look good.

But datatables changed it's way to do ajax request so the above doesn't work
without changing that.
https://datatables.net/manual/server-side#Legacy

If doesn't seem we can't process the received data with old datatatable ajax
method
https://legacy.datatables.net/usage/server-side


That's what I've found so far, in case that helps.

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to