Skip to content
Snippets Groups Projects
Commit 1c0507db authored by Eric Rasmussen's avatar Eric Rasmussen
Browse files

[gh-314] Merging test into staging

git-svn-id: file:///tmp/wdn_thm_drupal/branches/drupal-7.x/staging@1543 20a16fea-79d4-4915-8869-1ea9d5ebf173
parent 9ee9c49e
No related branches found
No related tags found
No related merge requests found
......@@ -78,7 +78,11 @@ Add Trigger Support Patch to Workbench Moderation
* from http://drupal.org/node/1079134
* Don't upgrade WB Moderation without first applying this patch unless the new version supports Triggers
Fix broken books in Workbench Moderation
* mode in workbench_moderation.module in workbench_moderation_node_presave()
* http://drupal.org/node/1505060
------------------------------------
wysiwyg/editors/js/tinymce-3.js
* Comment out the part that switches wrappers from table-based to div. We need the original TinyMCE code for the PDW toggle plugin to work
......@@ -596,6 +596,12 @@ function workbench_moderation_node_presave($node) {
$node->status = 0;
}
}
/** UNL CHANGE START **/
if (isset($node->workbench_moderation['updating_live_revision']) && !empty($node->book['bid'])) {
// Book module forces new revision in book_node_presave() that needs to be cancelled.
$node->revision = 0;
}
/** UNL CHANGE END **/
}
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment