Hi,
When Comments on Album is active + Reply To on Stripped Theme, when you have at least on comment on your album, then line http://piwigo.org/dev/browser/extension … st.tpl#L80
jQuery("document").ready(function(jQuery) { var rT=jQuery(".replyTo"); if (rT.length !=0) { var trT=rT.attr("title"); var pe=trT.search(" "); if (pe>0) trT=trT.substring(0,pe); rT.text("["+trT+"]"); } });
We have a rT :
<a href="#commentform" class="replyTo" onclick="replyTo('16', 'Monique');">Reply</a>
... but with no "title" attribute, and then the .search is broken. The javascript error blocks RV ThumbnScroller (which is my original problem actually, but RV ThumbnScroller has no issue)
Here come my questions: do you think this code is useful in Stripped? Let's remove it?
Offline
hi
Does the plugin Reply To work on Stripped if you remove that js from Stripped and with Comments on Album? to know if we still can have the feature
Offline
what's the prupose of this snippet on the first place ?
Reply To plugin never adds titles to it's links
Offline
mistic100 wrote:
what's the prupose of this snippet on the first place ?
don't know as much as you
Offline
I just removed this piece of code and everything seems to work fine (no more JS error, still able to click on "reply" button).
Offline
Does Reply To plugin works on stripped?
Offline
Offline
flop25 wrote:
Does Reply To plugin works on stripped?
yes
Offline
so everything is ok
Offline