Quote:
Originally Posted by citroenar
It make problem with "Lightbox/ThickBox works with Inline Editing" ( https://vborg.vbsupport.ru/showthrea...=126501&page=7)
with code at the top of postbit legacy
Code:
<if condition="$show['thumbnailattachment']">
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/thickbox.js"></script>
</if>
If I remove this code it works normal.
|
Well you are loading jquery two times.. since both these mods use JQuery you should remove one of the instances.. I recommend to remove it from my mod instead of the Lightbox, since mine is still in beta.. I might add a control panel option in a future release to enable/disable Jquery in these type of cases...
EDIT::
Actually now when I think about it.. you should remove the LightBox JQuery code.. because the menu need JQuery on every page.. not just on pages where the postbit is displayed.. so remove the code from the postbit_legacy, and just remember where it goes if you need to put it back later...
to be more specific, remove this piece of the code..
<script type="text/javascript" src="js/jquery.js"></script>