Moved all logic of PartialViewTasks and PartialViewMacroTasks to a base class as the only difference was 3 variables

Added events: PartialView(Macro): Create, Save and Delete
Added events: Template: Save (there's already a legacy event, this is a new one to transition to)
PartialViewMacro.ascx.cs was adding ".cshtml" just so that it could strip it of again, crazy
This commit is contained in:
Sebastiaan Janssen
2014-08-14 17:20:25 +02:00
parent 0aff4b4d05
commit 1ccee3f305
6 changed files with 375 additions and 378 deletions

View File

@@ -488,6 +488,7 @@
<Compile Include="umbraco.presentation\umbraco\create\DLRScripting.ascx.cs">
<SubType>ASPXCodeBehind</SubType>
</Compile>
<Compile Include="umbraco.presentation\umbraco\create\PartialViewTasksBase.cs" />
<Compile Include="umbraco.presentation\umbraco\create\xslt.ascx.cs">
<SubType>ASPXCodeBehind</SubType>
</Compile>