From 514d1a8b07ee2644673611c8cba7cce3c9935185 Mon Sep 17 00:00:00 2001 From: Hassan Hashmi <75794688+hassanhashmey@users.noreply.github.com> Date: Fri, 26 Jan 2024 14:19:37 +0500 Subject: [PATCH] filemanager issue fix --- baseTemplate/static/baseTemplate/newBase.js | 4 +++- baseTemplate/templates/baseTemplate/newBase.html | 11 +++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/baseTemplate/static/baseTemplate/newBase.js b/baseTemplate/static/baseTemplate/newBase.js index 3462850b7..d59d14d7a 100644 --- a/baseTemplate/static/baseTemplate/newBase.js +++ b/baseTemplate/static/baseTemplate/newBase.js @@ -197,15 +197,17 @@ function getCookie(name) { return cookieValue; } -var newapp = angular.module('cybercpV2', []); +var newapp = angular.module('cybercpV2', ['angularFileUpload']); newapp.config(['$interpolateProvider', function ($interpolateProvider) { $interpolateProvider.startSymbol('{$'); $interpolateProvider.endSymbol('$}'); }]); + newapp.controller('dashboardV2', function ($scope, $http, $timeout) { alert('dashboardV2'); + function getStuff() { diff --git a/baseTemplate/templates/baseTemplate/newBase.html b/baseTemplate/templates/baseTemplate/newBase.html index 06c795f27..0b8162250 100644 --- a/baseTemplate/templates/baseTemplate/newBase.html +++ b/baseTemplate/templates/baseTemplate/newBase.html @@ -9,8 +9,19 @@ {% load static %} + + + + + + + + + + +