Removing the "caption" input from the media edit template

--HG--
branch : dev
This commit is contained in:
Nathan Heskew
2010-11-03 23:11:14 -07:00
parent b73e125ab4
commit 9a5faa199f
2 changed files with 7 additions and 9 deletions

View File

@@ -195,10 +195,11 @@ namespace Orchard.Media.Controllers {
}
}
public ActionResult EditMedia(string name, string caption, DateTime lastUpdated, long size, string folderName, string mediaPath) {
public ActionResult EditMedia(string name, DateTime lastUpdated, long size, string folderName, string mediaPath) {
var model = new MediaItemEditViewModel();
model.Name = name;
model.Caption = caption ?? String.Empty;
// todo: reimplement
//model.Caption = caption ?? String.Empty;
model.LastUpdated = lastUpdated;
model.Size = size;
model.FolderName = folderName;