You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If there are multiple tables on a page. Editing one table causes a blank request (containing "&action=edit") to be sent from other table(s). This issue is also present on the example page: https://markcell.github.io/jquery-tabledit/#examples
Initially I thought the issue was because the rows on different tables had the same ids, however giving the rows different ids still doesn't solve this issue.
Update: This behavior has to do with the user pressing enter key at any time which sends out a blank request from both tables.
Fix: Find function ajax(action) around line 370 in jquery.tabledit.js, and add:
//if request is empty: if($table.find('.tabledit-input').serialize() === "") return;
The text was updated successfully, but these errors were encountered:
If there are multiple tables on a page. Editing one table causes a blank request (containing "&action=edit") to be sent from other table(s). This issue is also present on the example page:
https://markcell.github.io/jquery-tabledit/#examples
Initially I thought the issue was because the rows on different tables had the same ids, however giving the rows different ids still doesn't solve this issue.
Update: This behavior has to do with the user pressing enter key at any time which sends out a blank request from both tables.
Fix: Find
function ajax(action)
around line 370 in jquery.tabledit.js, and add://if request is empty:
if($table.find('.tabledit-input').serialize() === "")
return;
The text was updated successfully, but these errors were encountered: