mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2026-01-24 05:42:10 +08:00
Adding support for draftable element widgets.
This commit is contained in:
@@ -8,8 +8,8 @@ namespace Orchard.Layouts.Models {
|
||||
}
|
||||
|
||||
public string ElementState {
|
||||
get { return this.Retrieve(x => x.ElementState); }
|
||||
set { this.Store(x => x.ElementState, value); }
|
||||
get { return this.Retrieve(x => x.ElementState, versioned: true, defaultValue: this.Retrieve(x => x.ElementState)); }
|
||||
set { this.Store(x => x.ElementState, value, versioned: true); }
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user