#380 ✓resolved
Imran

If user doesn't have permission to report a bug, file upload breaks

Reported by Imran | November 1st, 2011 @ 02:52 PM | in 2.0.3 (closed)

In framework/modules/administration/views/administration/toolbar.tpl line 130 it says:

             Y.one('#reportabug-toolbar').on('click', reportbugwindow);
             Y.one('#filemanager-toolbar').on('click',filepickerwindow);
             Y.one('#fileuploader-toolbar').on('click',fileuploaderwindow);

However if the user doesn't have the permission to report a bug, the first line has an error and it breaks the subsequent 2 lines meaning that the user cannot upload files from the toolbar. Maybe use a try/catch?

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Bug Tracker for Exponent CMS

Shared Ticket Bins

People watching this ticket

Pages