diff --git a/css/cms_right.css b/css/cms_right.css index 522b8259..1758555c 100644 --- a/css/cms_right.css +++ b/css/cms_right.css @@ -87,6 +87,12 @@ html>body .right form textarea.htmleditor { .right form .optionset li { list-style: none; } +.right form .optionset li.cancel { + float: left; +} +.right form .optionset li.submit { + text-align: right; +} .right form h2 { clear: both; diff --git a/javascript/NewsletterAdmin_right.js b/javascript/NewsletterAdmin_right.js index 4dc66edd..1f73cdef 100755 --- a/javascript/NewsletterAdmin_right.js +++ b/javascript/NewsletterAdmin_right.js @@ -2,6 +2,18 @@ function action_send_right() { $('action_send_options').toggle(); } +/** + * Hides the drop-down Send newsletter form if Cancel button is clicked + */ +Behaviour.register( { + '#action_send_cancel': { + onclick : function() { + $('action_send_options').toggle(); + return false; + } + } +}); + CMSForm.applyTo('#Form_MemberForm','rightbottom'); Behaviour.register({ diff --git a/templates/Includes/NewsletterAdmin_right.ss b/templates/Includes/NewsletterAdmin_right.ss index 66428707..2fe8b875 100755 --- a/templates/Includes/NewsletterAdmin_right.ss +++ b/templates/Includes/NewsletterAdmin_right.ss @@ -17,7 +17,10 @@
- +