|
|
|
@ -414,7 +414,7 @@ namespace MediaBrowser.WebDashboard.Api
|
|
|
|
|
|
|
|
|
|
var files = new[]
|
|
|
|
|
{
|
|
|
|
|
"http://code.jquery.com/mobile/1.3.2/jquery.mobile-1.3.2.min.css",
|
|
|
|
|
"thirdparty/jquerymobile-1.3.2/jquery.mobile-1.3.2.min.css",
|
|
|
|
|
"thirdparty/jqm-icon-pack-3.0/font-awesome/jqm-icon-pack-3.0.0-fa.css" + versionString,
|
|
|
|
|
"css/all.css" + versionString
|
|
|
|
|
};
|
|
|
|
@ -440,8 +440,6 @@ namespace MediaBrowser.WebDashboard.Api
|
|
|
|
|
|
|
|
|
|
var files = new[]
|
|
|
|
|
{
|
|
|
|
|
"thirdparty/jquery.min.js",
|
|
|
|
|
"http://code.jquery.com/mobile/1.3.2/jquery.mobile-1.3.2.min.js",
|
|
|
|
|
"scripts/all.js" + versionString,
|
|
|
|
|
"thirdparty/jstree1.0/jquery.jstree.min.js"
|
|
|
|
|
};
|
|
|
|
@ -551,9 +549,11 @@ namespace MediaBrowser.WebDashboard.Api
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
var memoryStream = new MemoryStream();
|
|
|
|
|
|
|
|
|
|
var newLineBytes = Encoding.UTF8.GetBytes(Environment.NewLine);
|
|
|
|
|
|
|
|
|
|
await AppendResource(memoryStream, "thirdparty/jquery-1.9.1.min.js", newLineBytes).ConfigureAwait(false);
|
|
|
|
|
await AppendResource(memoryStream, "thirdparty/jquerymobile-1.3.2/jquery.mobile-1.3.2.min.js", newLineBytes).ConfigureAwait(false);
|
|
|
|
|
|
|
|
|
|
var versionString = string.Format("window.dashboardVersion='{0}';", _appHost.ApplicationVersion);
|
|
|
|
|
var versionBytes = Encoding.UTF8.GetBytes(versionString);
|
|
|
|
|
|
|
|
|
|