Changed CSS load order in media picker.

--HG--
branch : dev
This commit is contained in:
Jonathan Wall
2011-02-22 11:00:29 -08:00
parent 3e28060cba
commit 6901ade9e1

View File

@@ -5,16 +5,17 @@
@using Orchard.Media.Models;
@using Orchard.UI.Resources;
@{
Style.Include("~/themes/theadmin/styles/site.css");
Style.Include("~/themes/theadmin/styles/ie.css").UseCondition("lte IE 8").SetAttribute("media", "screen, projection");
Style.Include("~/themes/theadmin/styles/ie6.css").UseCondition("lte IE 6").SetAttribute("media", "screen, projection");
Style.Include("mediapicker.css");
// these need to be in the head because MediaBrowser.js defines a callback that the thumbnail images call when they load,
// which could happen as soon as they render.
Style.Require("jQueryUI_Orchard").AtHead();
Script.Require("jQueryUI_Tabs").AtHead();
Script.Include("MediaBrowser.js").AtHead();
Style.Include("~/themes/theadmin/styles/site.css");
Style.Include("~/themes/theadmin/styles/ie.css").UseCondition("lte IE 8").SetAttribute("media", "screen, projection");
Style.Include("~/themes/theadmin/styles/ie6.css").UseCondition("lte IE 6").SetAttribute("media", "screen, projection");
Style.Include("mediapicker.css");
}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">