webdav portal style fixes

This commit is contained in:
vfedosevich 2015-02-25 05:22:39 -08:00
parent 84877d8c13
commit 85789c4619
2 changed files with 7 additions and 6 deletions

View file

@ -97,6 +97,11 @@ namespace WebsitePanel.WebDavPortal.Controllers
SearchValue = searchValue
};
if (Request.Browser.IsMobileDevice)
{
model.UserSettings.WebDavViewType = FolderViewTypes.BigIcons;
}
return View(model);
}
catch (UnauthorizedException e)