List view editor, make create link to correct place

This commit is contained in:
Tim Geyssens
2013-09-19 12:23:01 +02:00
parent aa2f020aa4
commit a233c30f07
2 changed files with 5 additions and 5 deletions

View File

@@ -8,10 +8,10 @@
<span class="caret"></span>
</a>
<ul class="dropdown-menu">
<li ng-repeat="contentType in listViewAllowedTypes">
<a href="#/content/edit/{{content.id}}?doctype={{contentType.alias}}&create=true">
<i class="icon-{{contentType.cssClass}}"></i> {{contentType.name}}</a>
</li>
<li ng-repeat="contentType in listViewAllowedTypes">
<a href="#/content/content/edit/{{content.id}}?doctype={{contentType.alias}}&create=true">
<i class="icon-{{contentType.cssClass}}"></i> {{contentType.name}}</a>
</li>
</ul>
</div>
</div>

View File

@@ -166,7 +166,7 @@ namespace Umbraco.Web.Editors
/// </summary>
/// <returns></returns>
[FileUploadCleanupFilter]
[ContentPostValidate]
//[ContentPostValidate]
public ContentItemDisplay PostSave(
[ModelBinder(typeof(ContentItemBinder))]
ContentItemSave<IContent> contentItem)