+
\ No newline at end of file
diff --git a/src/Umbraco.Web.UI.Client/src/views/content/create.html b/src/Umbraco.Web.UI.Client/src/views/content/create.html
index 9ee6ec320f..2a0415a33a 100644
--- a/src/Umbraco.Web.UI.Client/src/views/content/create.html
+++ b/src/Umbraco.Web.UI.Client/src/views/content/create.html
@@ -17,7 +17,7 @@
-
+
diff --git a/src/Umbraco.Web.UI.Client/src/views/dashboard/dashboard.tabs.controller.js b/src/Umbraco.Web.UI.Client/src/views/dashboard/dashboard.tabs.controller.js
index 74149da018..3983777263 100644
--- a/src/Umbraco.Web.UI.Client/src/views/dashboard/dashboard.tabs.controller.js
+++ b/src/Umbraco.Web.UI.Client/src/views/dashboard/dashboard.tabs.controller.js
@@ -21,8 +21,61 @@ function startupLatestEditsController($scope) {
}
angular.module("umbraco").controller("Umbraco.Dashboard.StartupLatestEditsController", startupLatestEditsController);
-function MediaFolderBrowserDashboardController($scope) {
-
+function MediaFolderBrowserDashboardController($rootScope, $scope, assetsService, $routeParams, $timeout, $element, $location, umbRequestHelper, mediaResource, imageHelper) {
+ var dialogOptions = $scope.$parent.dialogOptions;
+
+ $scope.filesUploading = [];
+ $scope.options = {
+ url: umbRequestHelper.getApiUrl("mediaApiBaseUrl", "PostAddFile"),
+ autoUpload: true,
+ disableImageResize: /Android(?!.*Chrome)|Opera/
+ .test(window.navigator.userAgent),
+ previewMaxWidth: 200,
+ previewMaxHeight: 200,
+ previewCrop: true,
+ formData:{
+ currentFolder: -1
+ }
+ };
+
+
+ $scope.loadChildren = function(){
+ mediaResource.getChildren(-1)
+ .then(function(data) {
+ $scope.images = data.items;
+ });
+ };
+
+ $scope.$on('fileuploadstop', function(event, files){
+ $scope.loadChildren($scope.options.formData.currentFolder);
+ $scope.queue = [];
+ $scope.filesUploading = [];
+ });
+
+ $scope.$on('fileuploadprocessalways', function(e,data) {
+ var i;
+ $scope.$apply(function() {
+ $scope.filesUploading.push(data.files[data.index]);
+ });
+ });
+
+ // All these sit-ups are to add dropzone area and make sure it gets removed if dragging is aborted!
+ $scope.$on('fileuploaddragover', function(event, files) {
+ if (!$scope.dragClearTimeout) {
+ $scope.$apply(function() {
+ $scope.dropping = true;
+ });
+ } else {
+ $timeout.cancel($scope.dragClearTimeout);
+ }
+ $scope.dragClearTimeout = $timeout(function () {
+ $scope.dropping = null;
+ $scope.dragClearTimeout = null;
+ }, 300);
+ });
+
+ //init load
+ $scope.loadChildren();
}
angular.module("umbraco").controller("Umbraco.Dashboard.MediaFolderBrowserDashboardController", MediaFolderBrowserDashboardController);
diff --git a/src/Umbraco.Web.UI.Client/src/views/dashboard/media/mediafolderbrowser.html b/src/Umbraco.Web.UI.Client/src/views/dashboard/media/mediafolderbrowser.html
index c4664280b0..f4e4499ae9 100644
--- a/src/Umbraco.Web.UI.Client/src/views/dashboard/media/mediafolderbrowser.html
+++ b/src/Umbraco.Web.UI.Client/src/views/dashboard/media/mediafolderbrowser.html
@@ -1,3 +1,18 @@
-
-
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/src/Umbraco.Web.UI.Client/src/views/directives/umb-navigation.html b/src/Umbraco.Web.UI.Client/src/views/directives/umb-navigation.html
index 8314ce4557..2b9740d07e 100644
--- a/src/Umbraco.Web.UI.Client/src/views/directives/umb-navigation.html
+++ b/src/Umbraco.Web.UI.Client/src/views/directives/umb-navigation.html
@@ -54,16 +54,28 @@
diff --git a/src/Umbraco.Web.UI.Client/src/views/media/create.html b/src/Umbraco.Web.UI.Client/src/views/media/create.html
index 5048af043a..bd526ebc14 100644
--- a/src/Umbraco.Web.UI.Client/src/views/media/create.html
+++ b/src/Umbraco.Web.UI.Client/src/views/media/create.html
@@ -17,7 +17,7 @@
-
+
diff --git a/src/Umbraco.Web.UI.Client/src/views/media/media.create.controller.js b/src/Umbraco.Web.UI.Client/src/views/media/media.create.controller.js
index 6536a6d504..57ab8d9c5b 100644
--- a/src/Umbraco.Web.UI.Client/src/views/media/media.create.controller.js
+++ b/src/Umbraco.Web.UI.Client/src/views/media/media.create.controller.js
@@ -9,7 +9,7 @@
function mediaCreateController($scope, $routeParams, mediaTypeResource, iconHelper) {
mediaTypeResource.getAllowedTypes($scope.currentNode.id).then(function(data) {
- $scope.allowedTypes = iconHelper.formatContentTypeThumbnails(data);
+ $scope.allowedTypes = iconHelper.formatContentTypeIcons(data);
});
}
diff --git a/src/Umbraco.Web.UI/config/Dashboard.Release.config b/src/Umbraco.Web.UI/config/Dashboard.Release.config
index 0689c584d5..433574958e 100644
--- a/src/Umbraco.Web.UI/config/Dashboard.Release.config
+++ b/src/Umbraco.Web.UI/config/Dashboard.Release.config
@@ -1,5 +1,6 @@
+
settings
@@ -26,7 +27,11 @@
views/dashboard/developer/developerdashboardvideos.html
+
+ /umbraco/dashboard/ExamineManagement.ascx
+
+
+
translator
@@ -63,17 +69,17 @@
admin
- views/dashboard/startupdashboardintro.html
+ views/dashboard/default/startupdashboardintro.html
- views/dashboard/startupdashboardkits.html
+ views/dashboard/default/startupdashboardkits.html
editor
writer
- views/dashboard/startupdashboardvideos.html
+ views/dashboard/default/startupdashboardvideos.html
@@ -85,7 +91,7 @@
-
+
member
@@ -102,14 +108,4 @@
-
-
-
- developer
-
-
- /umbraco/dashboard/ExamineManagement.ascx
-
-
-
\ No newline at end of file
diff --git a/src/Umbraco.Web.UI/config/Dashboard.config b/src/Umbraco.Web.UI/config/Dashboard.config
index 5eef4294e3..b8cbbe0838 100644
--- a/src/Umbraco.Web.UI/config/Dashboard.config
+++ b/src/Umbraco.Web.UI/config/Dashboard.config
@@ -69,17 +69,17 @@
admin
- views/dashboard/startupdashboardintro.html
+ views/dashboard/default/startupdashboardintro.html
- views/dashboard/startupdashboardkits.html
+ views/dashboard/default/startupdashboardkits.html
editor
writer
- views/dashboard/startupdashboardvideos.html
+ views/dashboard/default/startupdashboardvideos.html
diff --git a/src/Umbraco.Web.UI/config/trees.Release.config b/src/Umbraco.Web.UI/config/trees.Release.config
index e263be1c66..83d4d5ad1e 100644
--- a/src/Umbraco.Web.UI/config/trees.Release.config
+++ b/src/Umbraco.Web.UI/config/trees.Release.config
@@ -3,49 +3,49 @@
-
+
-
+
-
+
-
-
-
-
-
-
-
+
+
+
+
+
+
+
-
-
-
-
-
-
-
+
+
+
+
+
+
+
-
-
-
+
+
+
-
-
-
+
+
+
-
-
+
+
+ iconClosed="icon-folder" iconOpen="icon-folder" sortOrder="10" />-->
\ No newline at end of file
diff --git a/src/Umbraco.Web.UI/config/trees.config b/src/Umbraco.Web.UI/config/trees.config
index 58c3560e54..0e85bccd05 100644
--- a/src/Umbraco.Web.UI/config/trees.config
+++ b/src/Umbraco.Web.UI/config/trees.config
@@ -1,42 +1,51 @@
+
-
-
+
+
+
-
-
+
+
+
-
+
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
-
-
-
+
+
+
+
-
-
+
+
+
-
-
+
+
+
+ iconClosed="icon-folder" iconOpen="icon-folder" sortOrder="10" />-->
+
\ No newline at end of file
diff --git a/src/Umbraco.Web.UI/umbraco/create/nodeType.ascx b/src/Umbraco.Web.UI/umbraco/create/nodeType.ascx
index 751d88770d..bb498c0f0f 100644
--- a/src/Umbraco.Web.UI/umbraco/create/nodeType.ascx
+++ b/src/Umbraco.Web.UI/umbraco/create/nodeType.ascx
@@ -1,24 +1,30 @@
<%@ Control Language="c#" AutoEventWireup="True" Codebehind="nodeType.ascx.cs" Inherits="umbraco.cms.presentation.create.controls.nodeType" TargetSchema="http://schemas.microsoft.com/intellisense/ie5"%>
-Master Document Type:
-
-
-
+<%@ Register TagPrefix="cc1" Namespace="umbraco.uicontrols" Assembly="controls" %>
-<%=umbraco.ui.Text("name")%>:
-
*
-
-
+
+
+
+
+
+
+
+
+ *
+
-
+
+
+
-
-
+
+
+
+
+
+
+
+
+ <%=umbraco.ui.Text("cancel")%>
+
+
\ No newline at end of file
diff --git a/src/Umbraco.Web.UI/umbraco/settings/EditMediaType.aspx b/src/Umbraco.Web.UI/umbraco/settings/EditMediaType.aspx
index 28a6efe773..ab35ae3a63 100644
--- a/src/Umbraco.Web.UI/umbraco/settings/EditMediaType.aspx
+++ b/src/Umbraco.Web.UI/umbraco/settings/EditMediaType.aspx
@@ -1,6 +1,7 @@
<%@ Register TagPrefix="cc2" Namespace="umbraco.uicontrols" Assembly="controls" %>
<%@ Page Language="c#" CodeBehind="EditMediaType.aspx.cs" MasterPageFile="../masterpages/umbracoPage.Master"
+ Async="true" AsyncTimeOut="300"
AutoEventWireup="True" Inherits="umbraco.cms.presentation.settings.EditMediaType" %>
<%@ Register TagPrefix="uc1" TagName="ContentTypeControlNew" Src="../controls/ContentTypeControlNew.ascx" %>
diff --git a/src/Umbraco.Web.UI/umbraco_client/Application/UmbracoClientManager.js b/src/Umbraco.Web.UI/umbraco_client/Application/UmbracoClientManager.js
index e19acea068..99f1e83ee0 100644
--- a/src/Umbraco.Web.UI/umbraco_client/Application/UmbracoClientManager.js
+++ b/src/Umbraco.Web.UI/umbraco_client/Application/UmbracoClientManager.js
@@ -130,15 +130,16 @@ Umbraco.Sys.registerNamespace("Umbraco.Application");
}
this._debug("contentFrame: parsed location: " + strLocation);
- var self = this;
- window.setTimeout(function() {
- if (typeof self.mainWindow().right != "undefined") {
- self.mainWindow().right.location.href = strLocation;
- }
- else {
- self.mainWindow().location.href = strLocation; //set the current windows location if the right frame doesn't exist int he current context
- }
- }, 200);
+
+ if (!this.mainWindow().UmbClientMgr) {
+ window.setTimeout(function() {
+ var self = this;
+ self.mainWindow().location.href = strLocation;
+ }, 200);
+ }
+ else {
+ this.mainWindow().UmbClientMgr.contentFrame(strLocation);
+ }
}
},
reloadContentFrameUrlIfPathLoaded: function (url) {
diff --git a/src/Umbraco.Web/Editors/EntityController.cs b/src/Umbraco.Web/Editors/EntityController.cs
index 73208928ef..63782c4c55 100644
--- a/src/Umbraco.Web/Editors/EntityController.cs
+++ b/src/Umbraco.Web/Editors/EntityController.cs
@@ -36,6 +36,9 @@ namespace Umbraco.Web.Editors
[HttpGet]
public IEnumerable Search([FromUri] string query, UmbracoEntityTypes type)
{
+ if (string.IsNullOrEmpty(query))
+ return null;
+
switch (type)
{
case UmbracoEntityTypes.Document:
diff --git a/src/Umbraco.Web/Editors/MediaController.cs b/src/Umbraco.Web/Editors/MediaController.cs
index 4f21a4e8a3..1cb89f70a0 100644
--- a/src/Umbraco.Web/Editors/MediaController.cs
+++ b/src/Umbraco.Web/Editors/MediaController.cs
@@ -29,6 +29,7 @@ using Umbraco.Web.WebApi.Filters;
using umbraco;
using umbraco.BusinessLogic.Actions;
using Constants = Umbraco.Core.Constants;
+using Umbraco.Core.Configuration;
namespace Umbraco.Web.Editors
{
@@ -348,16 +349,24 @@ namespace Umbraco.Web.Editors
foreach (var file in result.FileData)
{
var fileName = file.Headers.ContentDisposition.FileName.Trim(new[] { '\"' });
+ var ext = fileName.Substring(fileName.LastIndexOf('.')+1).ToLower();
- var mediaService = ApplicationContext.Services.MediaService;
- var f = mediaService.CreateMedia(fileName, parentId, Constants.Conventions.MediaTypes.Image);
-
- using (var fs = System.IO.File.OpenRead(file.LocalFileName))
+ if (!UmbracoConfig.For.UmbracoSettings().Content.DisallowedUploadFiles.Contains(ext))
{
- f.SetValue(Constants.Conventions.Media.File, fileName, fs);
- }
+ var mediaType = Constants.Conventions.MediaTypes.File;
- mediaService.Save(f);
+ if (UmbracoConfig.For.UmbracoSettings().Content.ImageFileTypes.Contains(ext))
+ mediaType = Constants.Conventions.MediaTypes.Image;
+
+ var mediaService = ApplicationContext.Services.MediaService;
+ var f = mediaService.CreateMedia(fileName, parentId, mediaType);
+ using (var fs = System.IO.File.OpenRead(file.LocalFileName))
+ {
+ f.SetValue(Constants.Conventions.Media.File, fileName, fs);
+ }
+
+ mediaService.Save(f);
+ }
//now we can remove the temp file
System.IO.File.Delete(file.LocalFileName);
diff --git a/src/Umbraco.Web/UmbracoContext.cs b/src/Umbraco.Web/UmbracoContext.cs
index f479cc3ac6..35896c9358 100644
--- a/src/Umbraco.Web/UmbracoContext.cs
+++ b/src/Umbraco.Web/UmbracoContext.cs
@@ -412,8 +412,8 @@ namespace Umbraco.Web
return
//StateHelper.Cookies.Preview.HasValue // has preview cookie
HttpContext.Request.HasPreviewCookie()
- && UmbracoUser != null // has user
- && currentUrl.StartsWith(IOHelper.ResolveUrl(SystemDirectories.Umbraco)) == false; // is not in admin UI
+ && currentUrl.StartsWith(IOHelper.ResolveUrl(SystemDirectories.Umbraco)) == false
+ && UmbracoUser != null; // has user
}
private HttpRequestBase GetRequestFromContext()
diff --git a/src/Umbraco.Web/umbraco.presentation/umbraco/Trees/loadLanguages.cs b/src/Umbraco.Web/umbraco.presentation/umbraco/Trees/loadLanguages.cs
index bbbad92f5a..7dd10e3755 100644
--- a/src/Umbraco.Web/umbraco.presentation/umbraco/Trees/loadLanguages.cs
+++ b/src/Umbraco.Web/umbraco.presentation/umbraco/Trees/loadLanguages.cs
@@ -61,8 +61,8 @@ function openDictionary() {
xNode.NodeID = l.id.ToString(); //"language_" + l.id.ToString();
xNode.Text = l.FriendlyName;
xNode.Action = "javascript:openLanguage(" + l.id + ");";
- xNode.Icon = "settingLanguage.gif";
- xNode.OpenIcon = "settingLanguage.gif";
+ xNode.Icon = "icon-flag-alt";
+ xNode.OpenIcon = "icon-flag-alt";
OnBeforeNodeRender(ref tree, ref xNode, EventArgs.Empty);
if (xNode != null)
diff --git a/src/Umbraco.Web/umbraco.presentation/umbraco/Trees/loadMediaTypes.cs b/src/Umbraco.Web/umbraco.presentation/umbraco/Trees/loadMediaTypes.cs
index 1f58cee995..da2d9a40ba 100644
--- a/src/Umbraco.Web/umbraco.presentation/umbraco/Trees/loadMediaTypes.cs
+++ b/src/Umbraco.Web/umbraco.presentation/umbraco/Trees/loadMediaTypes.cs
@@ -52,10 +52,11 @@ function openMediaType(id) {
xNode.NodeID = mediaType.Id.ToString(CultureInfo.InvariantCulture);
xNode.Text = mediaType.Name;
xNode.Action = string.Format("javascript:openMediaType({0});", mediaType.Id);
- xNode.Icon = "settingDataType.gif";
- xNode.OpenIcon = "settingDataType.gif";
+ xNode.Icon = "icon-item-arrangement";
+ xNode.OpenIcon = "icon-item-arrangement";
xNode.Source = GetTreeServiceUrl(mediaType.Id);
xNode.HasChildren = hasChildren;
+
if (hasChildren)
{
xNode.Icon = "settingMasterDataType.gif";
diff --git a/src/Umbraco.Web/umbraco.presentation/umbraco/Trees/loadPackages.cs b/src/Umbraco.Web/umbraco.presentation/umbraco/Trees/loadPackages.cs
index 2b4e95b846..9fa426669b 100644
--- a/src/Umbraco.Web/umbraco.presentation/umbraco/Trees/loadPackages.cs
+++ b/src/Umbraco.Web/umbraco.presentation/umbraco/Trees/loadPackages.cs
@@ -135,15 +135,6 @@ namespace umbraco
xNode.OpenIcon = "icon-folder";
xNode.NodeType = "packagesCategory" + cat.Id;
tree.Add(xNode);
- /*
- XmlElement catElement = Tree.CreateElement("tree");
- catElement.SetAttribute("text", cat.Text);
- //catElement.SetAttribute("menu", "");
- catElement.SetAttribute("icon", "folder.gif");
- catElement.SetAttribute("openIcon", "folder_o.gif");
- catElement.SetAttribute("nodeType", "packagesCategory" + cat.Id);
- catElement.SetAttribute("action", "javascript:openPackageCategory('BrowseRepository.aspx?category=" + cat.Id + "&repoGuid=" + currentRepo.Guid + "');");
- root.AppendChild(catElement);*/
}
}
break;
@@ -172,6 +163,7 @@ namespace umbraco
set { m_app = value; }
}
+
void ITree.Render(ref XmlDocument Tree)
{
m_packageType = HttpContext.Current.Request.QueryString["packageType"];
diff --git a/src/Umbraco.Web/umbraco.presentation/umbraco/Trees/loadScripts.cs b/src/Umbraco.Web/umbraco.presentation/umbraco/Trees/loadScripts.cs
index e5df6d330f..605ca14946 100644
--- a/src/Umbraco.Web/umbraco.presentation/umbraco/Trees/loadScripts.cs
+++ b/src/Umbraco.Web/umbraco.presentation/umbraco/Trees/loadScripts.cs
@@ -32,7 +32,7 @@ using Umbraco.Core;
namespace umbraco
{
- [Tree(Constants.Applications.Settings, "scripts", "Scripts", "folder.gif", "folder_o.gif", sortOrder: 2)]
+ [Tree(Constants.Applications.Settings, "scripts", "Scripts", "icon-folder", "icon-folder", sortOrder: 2)]
public class loadScripts : FileSystemTree
{
public loadScripts(string application) : base(application) { }
@@ -76,7 +76,7 @@ namespace umbraco
{
xNode.Action = xNode.Action.Replace("openFile", "openScriptEditor");
xNode.Icon = "icon-code";
- xNode.OpenIcon = "icon.code";
+ xNode.OpenIcon = "icon-code";
}
diff --git a/src/Umbraco.Web/umbraco.presentation/umbraco/create/nodeType.ascx b/src/Umbraco.Web/umbraco.presentation/umbraco/create/nodeType.ascx
index 751d88770d..bb498c0f0f 100644
--- a/src/Umbraco.Web/umbraco.presentation/umbraco/create/nodeType.ascx
+++ b/src/Umbraco.Web/umbraco.presentation/umbraco/create/nodeType.ascx
@@ -1,24 +1,30 @@
<%@ Control Language="c#" AutoEventWireup="True" Codebehind="nodeType.ascx.cs" Inherits="umbraco.cms.presentation.create.controls.nodeType" TargetSchema="http://schemas.microsoft.com/intellisense/ie5"%>
-Master Document Type:
-
-
-
+<%@ Register TagPrefix="cc1" Namespace="umbraco.uicontrols" Assembly="controls" %>
-<%=umbraco.ui.Text("name")%>:
-
*
-
-
+
+
+
+
+
+
+
+
+ *
+
-
+
+
+
-
-
+
+
+
+
+
+
+
+
+ <%=umbraco.ui.Text("cancel")%>
+
+
\ No newline at end of file
diff --git a/src/Umbraco.Web/umbraco.presentation/umbraco/create/nodeType.ascx.cs b/src/Umbraco.Web/umbraco.presentation/umbraco/create/nodeType.ascx.cs
index ca89fdbb4a..ba73303dfb 100644
--- a/src/Umbraco.Web/umbraco.presentation/umbraco/create/nodeType.ascx.cs
+++ b/src/Umbraco.Web/umbraco.presentation/umbraco/create/nodeType.ascx.cs
@@ -23,12 +23,13 @@ namespace umbraco.cms.presentation.create.controls
protected void Page_Load(object sender, System.EventArgs e)
{
sbmt.Text = ui.Text("create");
+ pp_name.Text = ui.Text("name");
+
if (!IsPostBack)
{
string nodeId = umbraco.helper.Request("nodeId");
if (String.IsNullOrEmpty(nodeId) || nodeId == "init")
{
- masterType.Attributes.Add("style", "width: 350px;");
masterType.Items.Add(new ListItem(ui.Text("none") + "...", "0"));
foreach (cms.businesslogic.web.DocumentType dt in cms.businesslogic.web.DocumentType.GetAllAsList())
{
diff --git a/src/Umbraco.Web/umbraco.presentation/umbraco/create/nodeType.ascx.designer.cs b/src/Umbraco.Web/umbraco.presentation/umbraco/create/nodeType.ascx.designer.cs
index 6fc02106f5..58a30d39aa 100644
--- a/src/Umbraco.Web/umbraco.presentation/umbraco/create/nodeType.ascx.designer.cs
+++ b/src/Umbraco.Web/umbraco.presentation/umbraco/create/nodeType.ascx.designer.cs
@@ -31,13 +31,13 @@ namespace umbraco.cms.presentation.create.controls {
protected global::System.Web.UI.WebControls.Literal masterTypePreDefined;
///
- /// RequiredFieldValidator1 control.
+ /// pp_name control.
///
///
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
///
- protected global::System.Web.UI.WebControls.RequiredFieldValidator RequiredFieldValidator1;
+ protected global::umbraco.uicontrols.PropertyPanel pp_name;
///
/// rename control.
@@ -48,6 +48,15 @@ namespace umbraco.cms.presentation.create.controls {
///
protected global::System.Web.UI.WebControls.TextBox rename;
+ ///
+ /// RequiredFieldValidator1 control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.RequiredFieldValidator RequiredFieldValidator1;
+
///
/// createTemplate control.
///
diff --git a/src/Umbraco.Web/umbraco.presentation/umbraco/create/xslt.ascx b/src/Umbraco.Web/umbraco.presentation/umbraco/create/xslt.ascx
index ffd1c9e07c..e3c6735fda 100644
--- a/src/Umbraco.Web/umbraco.presentation/umbraco/create/xslt.ascx
+++ b/src/Umbraco.Web/umbraco.presentation/umbraco/create/xslt.ascx
@@ -2,13 +2,13 @@
<%@ Register TagPrefix="cc1" Namespace="umbraco.uicontrols" Assembly="controls" %>
-
-
+
+
*
-
+
-
+
Clean
diff --git a/src/Umbraco.Web/umbraco.presentation/umbraco/settings/EditDictionaryItem.aspx.cs b/src/Umbraco.Web/umbraco.presentation/umbraco/settings/EditDictionaryItem.aspx.cs
index d68117de12..b6165ac86c 100644
--- a/src/Umbraco.Web/umbraco.presentation/umbraco/settings/EditDictionaryItem.aspx.cs
+++ b/src/Umbraco.Web/umbraco.presentation/umbraco/settings/EditDictionaryItem.aspx.cs
@@ -39,6 +39,7 @@ namespace umbraco.settings
uicontrols.Pane p = new uicontrols.Pane();
var save = Panel1.Menu.NewButton();
+ save.Text = ui.Text("save");
save.Click += save_Click;
save.ToolTip = ui.Text("save");
save.ID = "save";
diff --git a/src/Umbraco.Web/umbraco.presentation/umbraco/settings/EditMediaType.aspx b/src/Umbraco.Web/umbraco.presentation/umbraco/settings/EditMediaType.aspx
index 28a6efe773..ab35ae3a63 100644
--- a/src/Umbraco.Web/umbraco.presentation/umbraco/settings/EditMediaType.aspx
+++ b/src/Umbraco.Web/umbraco.presentation/umbraco/settings/EditMediaType.aspx
@@ -1,6 +1,7 @@
<%@ Register TagPrefix="cc2" Namespace="umbraco.uicontrols" Assembly="controls" %>
<%@ Page Language="c#" CodeBehind="EditMediaType.aspx.cs" MasterPageFile="../masterpages/umbracoPage.Master"
+ Async="true" AsyncTimeOut="300"
AutoEventWireup="True" Inherits="umbraco.cms.presentation.settings.EditMediaType" %>
<%@ Register TagPrefix="uc1" TagName="ContentTypeControlNew" Src="../controls/ContentTypeControlNew.ascx" %>
diff --git a/src/Umbraco.Web/umbraco.presentation/umbraco/settings/EditMediaType.aspx.designer.cs b/src/Umbraco.Web/umbraco.presentation/umbraco/settings/EditMediaType.aspx.designer.cs
index e120177439..3bf60caa2c 100644
--- a/src/Umbraco.Web/umbraco.presentation/umbraco/settings/EditMediaType.aspx.designer.cs
+++ b/src/Umbraco.Web/umbraco.presentation/umbraco/settings/EditMediaType.aspx.designer.cs
@@ -19,6 +19,6 @@ namespace umbraco.cms.presentation.settings {
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
///
- protected global::umbraco.controls.ContentTypeControlNew ContentTypeControlNew1;
+ protected global::System.Web.UI.UserControl ContentTypeControlNew1;
}
}