It looks like the inlineedit plugin stopped working (or maybe this is a php7 thing?)
When a element is saved the response returned to the onSuccess function is triggered - but the value returned is always blank. So the cell is always replaced with a blank.
If you go to re-edit the same cell, when the popup comes up the value you last entered is shown again as the input value. Yet the cell always is replaced with a blank (unless you select 'Cancel' rather than 'Save').
It looks like the problem is the ajax request call is returning success, yet the returned value is always empty.
So after saving an inlineedit, the cell is always replaced with a blank - and I looked, the database table is never updated.
The cell becomes blank because this code gets run...
and r (the ajax response sent to the console.log) is always blank - unless it fails validation, then it produces an error and the ajax spinner just freezes. (And BTW, that 1st td.empty() is not needed because the next line makes it redundant)
(See attachment).
Mootools and Ajax are not my favorite languages to debug as I'm not very proficient in their use. So I have been unable to figure out why the edited data is not being stored, yet returns success.
When a element is saved the response returned to the onSuccess function is triggered - but the value returned is always blank. So the cell is always replaced with a blank.
If you go to re-edit the same cell, when the popup comes up the value you last entered is shown again as the input value. Yet the cell always is replaced with a blank (unless you select 'Cancel' rather than 'Save').
It looks like the problem is the ajax request call is returning success, yet the returned value is always empty.
So after saving an inlineedit, the cell is always replaced with a blank - and I looked, the database table is never updated.
The cell becomes blank because this code gets run...
JavaScript:
'onSuccess' : function (r) {
console.log(r);
td.removeClass(this.options.focusClass);
td.empty();
td.empty().set('html', r);
(See attachment).
Mootools and Ajax are not my favorite languages to debug as I'm not very proficient in their use. So I have been unable to figure out why the edited data is not being stored, yet returns success.