mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-21 03:14:10 +08:00
Changed CSS load order in media picker.
--HG-- branch : dev
This commit is contained in:
@@ -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">
|
||||
|
Reference in New Issue
Block a user