Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
When I click on the Create Folder button in a File Section it does nothing. I tried this is Chrome and Firefox. Firebug gives me this error:
Error: Drupal.settings.oa_files is undefined $scope.init/$scope.addFolder@http://tag05056/_Sites/Intranet/profiles/openatrium/modules/apps/oa_files/js/oa_files_treeview.js?njkcd9:381:13 .controller/$scope.submit@http://tag05056/_Sites/Intranet/profiles/openatrium/modules/apps/oa_files/js/oa_files_treeview.js?njkcd9:550:11 gb.prototype.functionCall/<@http://tag05056/_Sites/Intranet/profiles/openatrium/modules/contrib/oa_angular/js/1.3.7/angular.min.js?njkcd9:198:422 Cc[c]</<.compile/</</f@http://tag05056/_Sites/Intranet/profiles/openatrium/modules/contrib/oa_angular/js/1.3.7/angular.min.js?njkcd9:227:394 Pe/this.$get</l.prototype.$eval@http://tag05056/_Sites/Intranet/profiles/openatrium/modules/contrib/oa_angular/js/1.3.7/angular.min.js?njkcd9:126:80 Pe/this.$get</l.prototype.$apply@http://tag05056/_Sites/Intranet/profiles/openatrium/modules/contrib/oa_angular/js/1.3.7/angular.min.js?njkcd9:126:305 Cc[c]</<.compile/</<@http://tag05056/_Sites/Intranet/profiles/openatrium/modules/contrib/oa_angular/js/1.3.7/angular.min.js?njkcd9:227:444 f.event.dispatch@http://tag05056/_Sites/Intranet/profiles/openatrium/modules/contrib/jquery_update/replace/jquery/1.7/jquery.min.js?v=1.7.1:3:4299 f.event.add/i@http://tag05056/_Sites/Intranet/profiles/openatrium/modules/contrib/jquery_update/replace/jquery/1.7/jquery.min.js?v=1.7.1:3:311
e/<()angular...?njkcd9 (line 103)
He/this.$get</<()angular...?njkcd9 (line 76)
Pe/this.$get</l.prototype.$apply()angular...?njkcd9 (line 126)
Cc[c]</<.compile/</<()angular...?njkcd9 (line 227)
f.event.dispatch()jquery....v=1.7.1 (line 3)
f.event.add/i()jquery....v=1.7.1 (line 3)
...&&c.apply(a,arguments)}}()}}]}function sa(b,a){if("__defineGetter__"===b||"__def...
angular...?njkcd9 (line 103)
Comment | File | Size | Author |
---|---|---|---|
#4 | oa_files-js-token-error_2423723-4.patch | 877 bytes | mpotter |
Comments
Comment #1
FreeXenon CreditAttribution: FreeXenon commentedComment #2
mpotter CreditAttribution: mpotter commentedYou are going to need to specify the exact steps you used to reproduce that on a fresh OA2 install. I cannot reproduce it at all, but there are so many possible configurations of the oa_files widget that we need to know exactly how you are using it.
Comment #3
mpotter CreditAttribution: mpotter commentedLooking at the code, the only way I can see getting this is if you didn't properly set the Space Menu for the widget, or if your space doesn't have the current section within the space menu. Edit your section page and make sure the Use Menu Link is enabled and it's parent is the Group Menu.
Comment #4
mpotter CreditAttribution: mpotter commentedAlso, you can try this patch to see if it helps. Won't fix a problem with your Space menu but should at least prevent any JS error.
Comment #5
Argus CreditAttribution: Argus as a volunteer commentedClosed due to inactivity.