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
I had a look at this issue, the message shown during delete is hardcoded into the javascript code for sqladmin.
Found here at sqladmin/statics/js/main.js.
Will have to look into the feasibility of overriding this js code.
The delete method do not pass information other than the model name, id used specific to the instance being deleted (sql admin implementation). Hence unable to access the "deleted" parameter within the js code.
The other way is to read it from the specific column using JS, but for any model that will not have the column deleted listed in the view will cause this feature to break, and this would be more of a hack than a good fix.
Now the message for delete and reverse_delete is the same (delete message).
It could be good to modify for reverse_delete being more accurate.
The text was updated successfully, but these errors were encountered: