Closed (fixed)
Project:
Media Gallery
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
17 Oct 2011 at 19:05 UTC
Updated:
7 Sep 2012 at 10:01 UTC
The title should decribe my issue. I tried to get a title in #cboxTitle an it didnt work. Normaly the colorboxplugin should detect the title attribute from the colorbox-link and use this. I added a title manually to this links created by mediagallery, but it didnt work out. I tried the same as well with an simple colorbox iframe load, and it worked as aspected.
I'm quite not sure where the bug is, but it seems to do something with the media_gallery.
Would be glad about some ideas or fixes.
Comments
Comment #1
hydra commentedWell finaly I figured out, where the problem was.
In colorbox-display.js in line 34, the title becomes reseted.
title: ' ',The explenation of this is marked in the comment above the title and looks like this:
So would it not be better to provide a default title, instead of disabling it totaly? In my opinion, the title of the colorbox for a certain gallery, should be the defined title of the gallery, this would make semanticly sense. Fo those who realy won't have a title, the possibility still exists to reset it, or maybe a UI solution would make sense.
However, no title is not what the user/developer expects from this kind of functionality.
Comment #2
lsolesen commentedCould you please clarify exactly what should be done in the media gallery source code - maybe even supply a patch for others to review?
Comment #3
lsolesen commentedNo activity.