mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02:00
elofgren: BUGFIX: Make adding a newsletter draft to the left site tree work again.
(merged from branches/gsoc) git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@41849 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
14acd05f1b
commit
e2475e8dcd
@ -300,7 +300,7 @@ AddForm.prototype = {
|
||||
|
||||
// create a new node and add it to the site tree
|
||||
if( type == 'draft' ) {
|
||||
$('sitetree').addDraftNode('New draft newsletter', parentID, $('Form_EditForm_ID').value );
|
||||
$('sitetree').addDraftNode('New draft newsletter', parentID, $('Form_NewsletterEditForm_ID').value );
|
||||
} else {
|
||||
$('sitetree').addTypeNode('New newsletter type', $('Form_EditForm_ID').value );
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user