Given that moving off the page effectively cancels the edit, but people are likely to press the back button, providing a cancel "button" might help
Put something like this in your checkout_form_alter, and at least you get a cancel link...
$node = $form['#node'];
if ($node->nid) {
// Place checkbox immediately after the log message
$form['preview']['#prefix'] = l(t('Cancel'),drupal_get_path_alias('node/'.$node->nid));
}
Comments
Comment #1
pomliane commentedThis version of Checkout (Content locking) is not supported anymore. The issue is closed for this reason.
Please upgrade to a supported version and feel free to reopen the issue on the new version if applicable.
This issue has been automagically closed by a script.