modxcms/revolution — pull request #828 by rtripault (2014-01-29 22:12:47+00:00)
Title: Only execute handlePreview if the "deleted" value changed

For now we were executing hide/show methods on the preview button on every save.

With this PR the methods are only executed if the deleted value of the resource changed.