diff --git a/Builds/MegaNavV8_8.1.2.zip b/Builds/MegaNavV8_8.1.2.zip new file mode 100644 index 0000000..aad6613 Binary files /dev/null and b/Builds/MegaNavV8_8.1.2.zip differ diff --git a/Builds/NuGet/AaronSadler.MegaNavV8.Web.nuspec b/Builds/NuGet/AaronSadler.MegaNavV8.Web.nuspec index f9f2e80..3ecc134 100644 --- a/Builds/NuGet/AaronSadler.MegaNavV8.Web.nuspec +++ b/Builds/NuGet/AaronSadler.MegaNavV8.Web.nuspec @@ -2,7 +2,7 @@ AaronSadler.MegaNavV8.Web - 8.1.1 + 8.1.2 Umbraco.MegaNavV8.Web Aaron Sadler, Callum Whyte Aaron Sadler, Callum Whyte @@ -12,7 +12,7 @@ MegaNavV8-Logo.png A flexible, draggable link picker for constructing site navigation menus, big or small, in Umbraco A flexible, draggable link picker for constructing site navigation menus, big or small, in Umbraco - + Copyright 2020 umbraco, umbraco-cms, MegaNav, MegaNav-V8 diff --git a/CHANGELOG.md b/CHANGELOG.md index 9ea064f..8efaf10 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,10 @@ # Change Log All notable changes to this project will be documented in this file. +## [8.1.2] - 2020-10-02 +### Fixed +Fixed issue where a new mega nav requires as string, but an object is passed. - Pull Request #13, Thanks auroris! + ## [8.1.1] - 2020-10-02 ### Fixed Included correct DLLs diff --git a/TestSite/App_Data/packages/createdPackages.config b/TestSite/App_Data/packages/createdPackages.config index 9f5e242..eaddb19 100644 --- a/TestSite/App_Data/packages/createdPackages.config +++ b/TestSite/App_Data/packages/createdPackages.config @@ -1,6 +1,6 @@  - + diff --git a/TestSite/App_Plugins/MeganavV8/Js/meganavv8.controller.js b/TestSite/App_Plugins/MeganavV8/Js/meganavv8.controller.js index 52e9f7e..806ffca 100644 --- a/TestSite/App_Plugins/MeganavV8/Js/meganavv8.controller.js +++ b/TestSite/App_Plugins/MeganavV8/Js/meganavv8.controller.js @@ -78,7 +78,7 @@ model.target.anchor = (model.target.anchor.indexOf('=') === -1 ? '#' : '?') + model.target.anchor; } if (model.target.udi) { - meganavV8Resource.getById(model.target.udi, { cultureName: $routeParams.cculture ? $routeParams.cculture : $routeParams.mculture }) + meganavV8Resource.getById(model.target.udi, $routeParams.cculture ? $routeParams.cculture : $routeParams.mculture) .then(function (response) { // merge metadata angular.extend(model.target, response.data); diff --git a/src/AaronSadler.MegaNavV8.Web/Web/UI/App_Plugins/MeganavV8/Js/meganavv8.controller.js b/src/AaronSadler.MegaNavV8.Web/Web/UI/App_Plugins/MeganavV8/Js/meganavv8.controller.js index 52e9f7e..806ffca 100644 --- a/src/AaronSadler.MegaNavV8.Web/Web/UI/App_Plugins/MeganavV8/Js/meganavv8.controller.js +++ b/src/AaronSadler.MegaNavV8.Web/Web/UI/App_Plugins/MeganavV8/Js/meganavv8.controller.js @@ -78,7 +78,7 @@ model.target.anchor = (model.target.anchor.indexOf('=') === -1 ? '#' : '?') + model.target.anchor; } if (model.target.udi) { - meganavV8Resource.getById(model.target.udi, { cultureName: $routeParams.cculture ? $routeParams.cculture : $routeParams.mculture }) + meganavV8Resource.getById(model.target.udi, $routeParams.cculture ? $routeParams.cculture : $routeParams.mculture) .then(function (response) { // merge metadata angular.extend(model.target, response.data);