Issue #492

This will prevent multiple insertions of the "Publish" / "Unpublish" link when clicking on the checkmark instead of the publish link itself.

For issue #492