Refactor: moved responsibility for including the correct script packages to the controls that use them

This commit is contained in:
Rick Falkvinge
2015-02-11 12:30:46 +01:00
parent 5233b7d3d9
commit 2aa264b65f
23 changed files with 40 additions and 36 deletions
+7
View File
@@ -27,6 +27,13 @@ public class MasterV5Base : MasterPage
public IncludedControl IncludedControlsUsed { get; set; } // as above with IncludedScripts control
// ReSharper restore InconsistentNaming
public MasterV5Base()
{
IncludedControlsUsed = IncludedControl.JsonParameters; // Include this by default to reduce errors
}
public DateTime PermissionCacheTimestamp
{
get