Marc Delisle a écrit :
Le 2011-03-20 10:12, rohit sharma a écrit :
Thanks for your feedback. I believe that the UPDATE query should be displayed, if it works or not, at the same place than when using a traditional edit (if $cfg['ShowSQL'] is true).
When an error appears in the "inline edit" query, the ajax message displayed is the error message, with a "back" button in the footer. I think the user would click on this button to go back to the page where the table is being displayed, rather he is being sent to some other page.
OK I believed that you were talking about the browser's back button. You mean the "Back" link in the footer. I'll remove it, it's part of some HTML generated for the Edit page but should not appear as a result of Inline edit.
Back link now removed in the Inline edit situation.
In case of an error, it would be better to display the query permanently,
so to bring uniformity (either success or failure), the inline_edit query should be displayed permanently like in case of normal query with $cfg['ShowSQL'] set to true.
Thanks for the feedback, I'll work on this tomorrow.