Permalink
Browse files

Added id so closing goes to the registration form directly.

  • Loading branch information...
1 parent c30f0e5 commit f28de0f5cfb193c98b7b8559ea7d001a2f01bb2f @lsolesen lsolesen committed Jan 9, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 commerce_add_to_cart_confirmation.rules.inc
@@ -57,5 +57,5 @@ function commerce_add_to_cart_confirmation_rules_add_to_cart_message($line_item,
$message .= '</div>';
$close = t('Close');
- drupal_set_message('<div class="message-inner">' . filter_xss_admin($message) . '<a class="commerce-add-to-cart-confirmation-close" href="#"><span class="element-invisible">' . $close . '</span></a></div>', 'commerce-add-to-cart-confirmation');
+ drupal_set_message('<div class="message-inner">' . filter_xss_admin($message) . '<a class="commerce-add-to-cart-confirmation-close" href="#add-to-cart-form-registration"><span class="element-invisible">' . $close . '</span></a></div>', 'commerce-add-to-cart-confirmation');
}

0 comments on commit f28de0f

Please sign in to comment.