joomla 3.6.5
Virtumart 3.2.1
Issue: Administrator area -> Virtuemart -> Products (or Categories) -> Editing product page, images tab
buttons [-16] [+16] (last used images) does not work.
Javascript console error:
QuoteUncaught ReferenceError: medialink is not defined
at HTMLAnchorElement.<anonymous> (mediahandler.js?vmver=2f2167a9:34)
at HTMLAnchorElement.dispatch (jquery.min.js:3)
at HTMLAnchorElement.r.handle (jquery.min.js:3)
Cause and solution:file /components/com_virtuemart/assets/js/
mediahandler.jsline 34: QuotesearchMedia.autocomplete( 'option' , 'source' , medialink+'&start='+media.start
Shold be
QuotesearchMedia.autocomplete( 'option' , 'source' , Virtuemart.medialink+'&start='+media.start
Thx, was already fixed in SVN rel#9497
Quote from: jenkinhill on April 12, 2017, 15:20:51 PM
Thx, was already fixed in SVN rel#9497
Hi! Please, recheck it, cause "Uncaught ReferenceError: medialink is not defined" is still there.
And line 34 of mediaandler.js still has ...
medialink+'&start.... instead of
Virtuemart.medialinkThis was not changed in 9497 as I can see in developer branch.
Thx!
Just the wrong svn version, fixed here http://dev.virtuemart.net/projects/virtuemart/repository/revisions/9502
Thanks Max, I had got lost in the latest revisions - and now testing with J3.7RC2