Skip to content

Commit

Permalink
Logic-->Exception open a DetailView
Browse files Browse the repository at this point in the history
  • Loading branch information
apobekiaris committed Jan 2, 2013
1 parent a3d5888 commit 3d82ad6
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,8 @@ bool TemplateContextGroupIsValid(LogicRuleInfo<TModelLogicRule> info) {


void InvertExecution(View view, ExecutionContext executionContext, object currentObject) {
ForceExecution(Active[ActiveObjectTypeHasRules] && view != null && view.ObjectTypeInfo != null, view, true, executionContext, currentObject);
bool hasRules = LogicRuleManager<TModelLogicRule>.HasRules(view);
ForceExecution(hasRules && view != null && view.ObjectTypeInfo != null, view, true, executionContext, currentObject);
}

protected void InvertExecution(View view, ExecutionContext executionContext) {
Expand Down

0 comments on commit 3d82ad6

Please sign in to comment.