Skip to content
This repository has been archived by the owner on Sep 15, 2022. It is now read-only.

Commit

Permalink
Don't offer the Run Now option on the Jobs node.
Browse files Browse the repository at this point in the history
git-svn-id: svn://svn.pgadmin.org/trunk@7893 a7884b65-44f6-0310-8a51-81a127f17b15
  • Loading branch information
dpage committed Jun 4, 2009
1 parent d066c8f commit a63dee9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pgadmin/agent/pgaJob.cpp
Expand Up @@ -304,7 +304,7 @@ bool runNowFactory::CheckEnable(pgObject *obj)
{
if (obj)
{
if (obj->GetMetaType() == PGM_JOB)
if (obj->GetMetaType() == PGM_JOB && !obj->IsCollection())
return true;
}
return false;
Expand Down

0 comments on commit a63dee9

Please sign in to comment.