Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cleanup module. #13

Merged
merged 5 commits into from
Mar 11, 2016
Merged

Cleanup module. #13

merged 5 commits into from
Mar 11, 2016

Conversation

dzink
Copy link

@dzink dzink commented Mar 10, 2016

No description provided.

@dzink
Copy link
Author

dzink commented Mar 11, 2016

View in BEAR at zivtech/bear#136

// the form is cached. Hence, the css file must be loaded again in the validate function or the css wonk work.
if (!empty($empty_fields) ) {
// The form is cached. Hence, the css file must be loaded again in the
// validate function or the css won't work.
drupal_add_css(drupal_get_path('module', 'required_for_pub') . '/css/required_for_pub.css', array('group' => CSS_DEFAULT, 'every_page' => TRUE));
if (module_exists('save_draft')) {
form_set_error('required_for_pub', t('You must do "a" or "b": <p>a. Save this content as DRAFT</p> <p>b. Or PULBISH it but FILL UP "required fields for content to be published" listed below:</p>'));

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PUBLISH not PULBISH

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is fixed in #14

@jodyHamilton jodyHamilton assigned dzink and unassigned jodyHamilton Mar 11, 2016
@dzink dzink assigned jodyHamilton and unassigned dzink Mar 11, 2016
jodyHamilton added a commit that referenced this pull request Mar 11, 2016
@jodyHamilton jodyHamilton merged commit 619fe93 into master Mar 11, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants