1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-28 10:20:45 +02:00

Added token to x-editable

This commit is contained in:
Cameron
2018-09-04 15:15:50 -07:00
parent a6cb884277
commit 00e2663162
4 changed files with 82 additions and 42 deletions

View File

@@ -287,8 +287,14 @@ $(document).ready(function()
});
$('div.e-container').editable({
selector: '.e-editable',
params: function(params) {
params.token = $(this).attr('data-token');
return params;
},
display: function (value, sourceData)
{
// HTML entities decoding... fix for: