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
This package is great and has really helped, but I was having some issues, trying to use it with async. Creating objects works gret and is no issue at all, however, by updating and deleting seem to have trouble. Delete works, but it reloads the page (so it's not async), and neither edit nor delete work after I've added a new object. I'm not entirely clear on how addModalFormFunction works when it would need to initialize both an update and delete button.
I've made some guesses based on the demo and the docs, but there's likely just some confusion about how it all works together.
@trco perfect. After posting I'd realized delete might be completely separate. Glad it's getting added soon! That will really help. I suppose on the js side it just needs to reinitialize both buttons.
@trco I looked in the code at async delete #126 because sync delete was not workng. It redirects to index with None behind the url. I am trying to find out what I am doing wrong. I put $(".bs-modal").each(function () { in _uploadedfiles_table.html so that the delete dialog works.
Update:
Never mind I solved this with JQuery/Ajax.
Hi there,
This package is great and has really helped, but I was having some issues, trying to use it with async. Creating objects works gret and is no issue at all, however, by updating and deleting seem to have trouble. Delete works, but it reloads the page (so it's not async), and neither edit nor delete work after I've added a new object. I'm not entirely clear on how
addModalFormFunction
works when it would need to initialize both an update and delete button.I've made some guesses based on the demo and the docs, but there's likely just some confusion about how it all works together.
So far I have this:
The text was updated successfully, but these errors were encountered: