Fixed Disabling [gallery] bbcode disables the ability to comment on album pictures

imthebest

Well-known member
If I disable the /gallery/ bbcode then the editor is gone when trying to add a comment to an album picture. The "Comment" button is there but the editor box isn't.

As soon as I enable the /gallery/ bbcode again then the editor is back on album pictures.

This doesn't happen when viewing an album (not an album picture). When viewing an album you can see and use the editor to add a comment regardless if the /gallery/ bbcode is enabled or not.
 
Of the three bugs I reported today, this one is the most annoying to me. If the fix is easy, could you please share the file edit I need to make?
 
In the template xengallery_media_view remove this line:
Code:
 <xen:require js="{xen:helper xmgjs, 'gallery_bb_code.js'}" />
 
Top Bottom