file picker in select mode, menus aren't shown as menus
Description
Attachments
relates to
Activity

Derek Ramsey March 3, 2016 at 11:25 AM
Tested on http://qa01-sakai.marist.edu:8080/portal/
The file picker looks correct in Lessons as well as Resources.
Matthew Buckett November 4, 2015 at 11:32 AM
I was just meaning it should be using the UI already developed rather than developing a new UI (or re-implementing it).

Charles Hedrick November 4, 2015 at 11:27 AM
It's not all pickers. There are actually two different UIs for the picker. Most pickers run in attach mode, which means that they expect you to select or upload a file and they then copy it into the hidden attachments area. Only Lessons and the MOTD tool use select mode, which returns a pointer to resources in the normal resources. I only changed the UI for select mode, as attach mode worked. (It doesn't seem to have popup dialogs.)
I don't object to doing other work with those menus. I need them to work, so we can test Lessons. I'm more confident in accessibility of jquery UI than some javascript I might create to make it look like resources.
Matthew Buckett November 4, 2015 at 10:02 AM
I think it would be good to have both the picker and the standard resources tool have the same UI, but that is much more work.
Matthew Buckett November 4, 2015 at 9:20 AM
Presumably this only affected the picker as it has it's own templates.
When the file picker is used in select mode (typical is attach mode), the menus are messed up. The options show as text, and all the menus start out open.
I've redone them as jquery UI dialogs.
I initially used the existing code and just initialized them as closed. But the results are ugly and probably not accessible. It's easy enough to convert to dialogs.