Skip to content

Commit

Permalink
[EasyTests for OpenWebModel from a win client]
Browse files Browse the repository at this point in the history
  • Loading branch information
apobekiaris committed Mar 26, 2015
1 parent 8c3755f commit 53e0af9
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -57,7 +57,7 @@ public class EnableStatePropertyController : DisableStatePropertyController {
}

IList GetEditorItems(PropertyEditor propertyEditor) {
if (!XpandModuleBase.IsHosted) {
if (!Application.IsHosted()) {
var value = EditorProperties(propertyEditor);
var type = Application.TypesInfo.FindTypeInfo("DevExpress.XtraEditors.Repository.RepositoryItemComboBox").Type;
return ((IList)type.GetProperty("Items").GetValue(value, null));
Expand Down Expand Up @@ -150,7 +150,7 @@ public class EnableStatePropertyController : DisableStatePropertyController {
}

protected virtual void Init(PropertyEditor propertyEditor) {
if (!XpandModuleBase.IsHosted) {
if (!Application.IsHosted()) {
var editorItems = GetEditorItems(propertyEditor);
editorItems.Clear();
var editorProperties = EditorProperties(propertyEditor);
Expand Down

0 comments on commit 53e0af9

Please sign in to comment.