Skip to content
This repository was archived by the owner on Oct 29, 2020. It is now read-only.

Allow admins to un-publish nodes without runs.#6082

Merged
sbsmith86 merged 1 commit intoDoSomethingArchive:devfrom
sbsmith86:allow-unpublish-no-run
Jan 25, 2016
Merged

Allow admins to un-publish nodes without runs.#6082
sbsmith86 merged 1 commit intoDoSomethingArchive:devfrom
sbsmith86:allow-unpublish-no-run

Conversation

@sbsmith86
Copy link
Copy Markdown
Contributor

What's this PR do?

Before disabling the publish check box on nodes, checks to see if the box not checked. If the box is checked, then we allow the user to unpublish the node. Otherwise, if the box is not checked, and a run is not selected, we disable the box so they can't publish without a run.

Any background context you want to provide?

We used JS to disable the publish check box on campaign nodes that didn't have a run selected to ensure the relationship between campaigns and campaign runs. But we needed to allow already published campaigns that didn't have a run tied to them to be unpublished.

What are the relevant tickets?

Fixes #6073

@angaither
Copy link
Copy Markdown
Contributor

👍

sbsmith86 added a commit that referenced this pull request Jan 25, 2016
Allow admins to un-publish nodes without runs.
@sbsmith86 sbsmith86 merged commit b940228 into DoSomethingArchive:dev Jan 25, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants