Merge pull request #742 from tomfulton/fix/u4-6843

Fix backoffice breaking when Actions use code in JsSource - U4-6843
This commit is contained in:
Shannon Deminick
2015-07-16 09:41:20 +02:00
2 changed files with 2 additions and 2 deletions

View File

@@ -715,7 +715,7 @@ namespace Umbraco.Web.Editors
if (isValid)
{
//it is a valid URL add to Url list
urlList.Add(jsFile);
urlList.Add(jsFile.StartsWith("~/") ? IOHelper.ResolveUrl(jsFile) : jsFile);
}
}
else

View File

@@ -90,7 +90,7 @@ namespace umbraco.BusinessLogic.Actions
{
return ActionsResolver.Current.Actions
.Where(x => !string.IsNullOrWhiteSpace(x.JsSource))
.Select(x => IOHelper.ResolveUrl(x.JsSource)).ToList();
.Select(x => x.JsSource).ToList();
//return ActionJsReference;
}