I added a fairly basic module to DNN 9.00.02. As soon as I drop the module on a page, the edit bar no longer works.
The View.html looks like this:
[ { jsname: "JQuery"
[ { path: "~/Resources/Shared/scripts/dnn.jquery.js"}]
[ { path: "~/Resources/Shared/scripts/ng/angular.min.js"}]
[ { path: "~/Resources/Shared/scripts/ng/angular-cookies.min.js"}]
[ { path: "~/Resources/Shared/scripts/ng/angular-resource.min.js"}]
[ { path: "~/Resources/Shared/scripts/ng/ui-grid.min.js"}]
[ { path: "~/DesktopModules/DnnMain/Scripts/appMain.js"}]
[ModuleAction:{controlKey : "Edit", securityAccessLevel : "Edit", titleKey: "EditModule", localResourceFile: "~/DesktopModules/DnnMain/App_LocalResources/View.resx" }]
<script type="text/javascript">
angular.element(document).ready(function () {
var moduleContainer = document.getElementById('mainContent-inner');
angular.bootstrap(moduleContainer, ["appMain"]);
});
</script>
The error displayed in the browser console is as follows:
GET http://localhost/DesktopModules/admin/Dnn.EditBar/undefinedDesktopModules/editBar/common/API/localization/gettable?culture=en-US 404 (Not Found)
GET http://localhost/DesktopModules/admin/Dnn.PersonaBar/undefinedAPI/personaBar/localization/gettable?culture=en-US 404 (Not Found)
It appears a script I'm including may be interfering and causing the "undefined" to be inserted in those calls, but I'm not strong enough in JS debugging to figure out where. Any ideas?