From e2475e8dcd0cedbd9e9d20ee3cb2f6260958851a Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Sat, 15 Sep 2007 00:50:47 +0000 Subject: [PATCH] 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 --- javascript/NewsletterAdmin_left.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/javascript/NewsletterAdmin_left.js b/javascript/NewsletterAdmin_left.js index 63535629..4ae1c868 100755 --- a/javascript/NewsletterAdmin_left.js +++ b/javascript/NewsletterAdmin_left.js @@ -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 ); }