2019-03-05, 09:45 AM
Upgraded to 1.8.20 (from 1.8.19).
For the life of me can't figure out why I can't do this now:
I do have a custom theme, but comparing with the stock default template, it's mostly the same (difference is in the class attribute).
This is "post_attachments_attachment_remove" from the default template:
This is most likely a user error, but for the life of me I can't figure this out. The debug console did show an error, but that happened way too quick for me to debug. (Not sure how to set a break point in web dev). Any help?
For the life of me can't figure out why I can't do this now:
- Edit a post with attachments
- Find one of the attachments, and try to remove it
I do have a custom theme, but comparing with the stock default template, it's mostly the same (difference is in the class attribute).
This is "post_attachments_attachment_remove" from the default template:
<input type="submit" class="button" name="rem" value="{$lang->remove_attachment}" onclick="return Post.removeAttachment({$attachment['aid']});" />
This is most likely a user error, but for the life of me I can't figure this out. The debug console did show an error, but that happened way too quick for me to debug. (Not sure how to set a break point in web dev). Any help?