v3.2.03 Uncaught Error: Syntax error, unrecognized expression – Treeview

WP-Filebase Pro Forums General Support v3.2.03 Uncaught Error: Syntax error, unrecognized expression – Treeview

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #3523
    Honey Agency
    Participant

    Hi All,

    If anyone else is having this little issue here is the little fix I added.

    On treeview the latest update appears to have broken the front end uploader. I was able to fix the issue on my clients installation as outlined below.

    classes/TreeviewAdmin.php line 109

    Original:
    jQuery(“#<?php echo $id ?> a. :not(.file-input)”).each(function(i,el) {

    Modified:
    jQuery(“#<?php echo $id ?> a.add-file”).not(“.file-input”).each(function(i,el) {

    #3530
    Fabian
    Participant

    Thanks Josh for posting the fix. This bug appeared on my testing system before and somehow it made its way to the release. Will deploy the fix tomorrow.

    #3531
    Honey Agency
    Participant

    Awesome, thanks Fabian. Cheers!

    #3588
    Fabian
    Participant

    Has been fixed with 3.2.04. The line now is
    jQuery("#<?php echo $id ?> a.add-file:not(.file-input)")
    which equals to what you have posted
    jQuery(“#<?php echo $id ?> a.add-file”).not(“.file-input”)

    #3597
    Honey Agency
    Participant

    Great, thanks!

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.