How to fix in-line editing breaks if no changes?
How to fix in-line editing breaks if no changes?
johnthomas00
Posts: 8Questions: 3Answers: 1
I have two pages setting up working great.
The in-line editing is very cool.
But, if I click to edit a cell and do not make changes, I can no longer make any in-line edits anywhere on the page unless I reload the page. If I edit a cell, or 50, things work well. It is only when I click to edit, but do not make a change.
editor.inline( this, {
onBlur: 'submit',
onEsc: 'submit',
onReturn: 'submit',
submit: 'changed',
buttons: '_basic',
fn: function () { this.submit(); }
} );
Suggestions/thoughts, please.
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
Is there a way to force a submit even if there are no changes? Things work fine when there is a submit and I will deal with the extra server load for now.
Change
submit
to besubmit: 'all'
.Its odd that you can't make any changes after an edit though. Can you link to the page so I can take a look into it please?
Allan
Tried this:
Change submit to be submit: 'all'.
did not solve the problem.
I'm not sure I explained the problem well, given the response. The problem is user cannot NOT edit a cell and still be able to edit it. If they click to edit, but make no changes, the user can make no more click to edit changes on the page.
I sent you an email with information for access the site so you can see for yourself/debug.
Thanks!
This was me, Allan suggested I remove this from my code:
When I did that, worked well.