Skip to content

Commit

Permalink
#501: thumbnail updated in files list.
Browse files Browse the repository at this point in the history
  • Loading branch information
Simonas Mikulenas committed Jun 28, 2013
1 parent b4dbd5d commit 206ef44
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Modules/BetterCms.Module.MediaManager/Scripts/bcms.media.js
Original file line number Diff line number Diff line change
Expand Up @@ -795,6 +795,13 @@ function ($, bcms, modal, siteSettings, forms, dynamicContent, messages, mediaUp
self.version(json.Version);
self.name(json.Title);
self.oldName = json.Title;
if (json.Image) {
self.tooltip = json.Image.ImageTooltip;
self.thumbnailUrl(json.Image.ThumbnailUrl);
} else {
self.tooltip = null;
self.thumbnailUrl(null);
}
});
}
};
Expand Down

0 comments on commit 206ef44

Please sign in to comment.