Commit 17d86252a000491a21d334bf027285088b2e64f6
1 parent
751957a3
(#2806) correct condition for publish button showing
git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@2474 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
1 additions
and
1 deletions
presentation/lookAndFeel/knowledgeTree/documentmanagement/viewUI.inc
| ... | ... | @@ -460,7 +460,7 @@ function displayDependantDocumentButton($oDocument, $bEdit) { |
| 460 | 460 | |
| 461 | 461 | function displayPublishButton($oDocument, $bEdit) { |
| 462 | 462 | // only display the publish button for unpublished documents |
| 463 | - if (!DocumentCollaboration::documentIsPendingWebPublishing($oDocument->getID())) { | |
| 463 | + if (DocumentCollaboration::documentIsPendingWebPublishing($oDocument->getID())) { | |
| 464 | 464 | // if there is collaboration |
| 465 | 465 | if ($oDocument->hasCollaboration()) { |
| 466 | 466 | // only display publish button if collaboration is complete and you're the last user in the collaboration process (or a sysadmin) | ... | ... |