WP-Filebase Pro › Forums › General Support › v3.2.03 Uncaught Error: Syntax error, unrecognized expression – Treeview
- This topic has 4 replies, 2 voices, and was last updated 10 years ago by Honey Agency.
- AuthorPosts
- 2015-01-08 at 22:26 #3523Honey AgencyParticipant
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) {2015-01-09 at 03:26 #3530FabianParticipantThanks 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.
2015-01-09 at 05:26 #3531Honey AgencyParticipantAwesome, thanks Fabian. Cheers!
2015-01-14 at 17:04 #3588FabianParticipantHas 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”)
2015-01-14 at 20:09 #3597Honey AgencyParticipantGreat, thanks!
- AuthorPosts
- You must be logged in to reply to this topic.