From 318bae74f6b2c6d386aefcd8636a59ce0007d852 Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Sat, 15 Sep 2007 00:51:58 +0000 Subject: [PATCH] elofgren: Newsletters: Remove reference to Form_NewsletterEditForm_Type in NewsletterAdmin?_right.js since the newsletter type form is simply called EditForm? and saving the newsletter type doesn't require check for 'action_savenewsletter' being set. (merged from branches/gsoc) git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@41852 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- javascript/NewsletterAdmin_right.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/javascript/NewsletterAdmin_right.js b/javascript/NewsletterAdmin_right.js index 9cd5af3f..b6ef9bb9 100755 --- a/javascript/NewsletterAdmin_right.js +++ b/javascript/NewsletterAdmin_right.js @@ -172,9 +172,6 @@ Behaviour.register({ var action = 'action_save'; - if( $('Form_NewsletterEditForm_Type') && $('Form_NewsletterEditForm_Type').value == 'Newsletter' ) - action += 'newsletter'; - if(ifChanged) { var data = this.serializeChangedFields('ID') + '&ajax=1&' + action + '=1'; } else {