JS fix for admin resource destroy success message
JS fix for admin resource destroy success message

Out of the box you will never run into a situation where this text needs escaping, however, it is possible that a third party extension will set a success message with quotes (or in the situation I ran into, a missing translation can cause this).

This will cleanly apply to 2-3-stable and 2-4-stable if desired, I haven't tested previous versions but can't imagine any issues.

fixes #5950

dotandbo/spree,dotandbo/spree,dotandbo/spree,dotandbo/spree