mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
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
This commit is contained in:
parent
05a8a40e01
commit
318bae74f6
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user