#3453 fixed togglePublish function
Merge pull request #3472 from dotCMS/issue-3453-content-tab-disabled-buttons

#3453 fixed togglePublish function