alpacaaa / resave_entries

A simple Symphony CMS extension that let you resave your entries after structural section changes.
7 stars 6 forks source link

Ajax request does not exit gracefully on Symphony Error #8

Closed s-e closed 11 years ago

s-e commented 11 years ago

resave_entries.publish.js

$.ajax still considers Symphony Errors a successful response, so there's no trap for them in the Ajax success callback. Non-destructive but does abort the resave completely with no feedback and leaves the button disabled and logger at "Processing".

alpacaaa commented 11 years ago

Thanks for reporting, will have a look at this soon.

s-e commented 11 years ago

I've already written a quick fix but not tested it yet. Want me to PR when I'm done?

alpacaaa commented 11 years ago

Of course :)