Tagged: docopy jquery
This topic contains 14 replies, has 9 voices, and was last updated by rspilhaus 2 months, 2 weeks ago.
-
AuthorPosts
-
October 7, 2012 at 8:04 am #2462
Doing a test site with the latest WP 3.5-beta which is using jQuery 1.8.2 and noticed that DoCopy isn’t working, but when I revert to older jQuery it works fine.
October 9, 2012 at 2:48 pm #2470Frosty,
I may have a similar bug. Does your docopy break mean that a docopy button is NOT producing a repeatable item, or is it a case where docopy is cloning the content from the previous item into the new item?
October 11, 2012 at 12:15 pm #2471docopy no longer produces a repeatable item. But removeall and remove item still works.
October 11, 2012 at 12:28 pm #2472Found the issue. Seems in
MetaBox.php:1406the.tocopyclass needs to be before the:firstpseudo element.Change:
var the_group = $(‘.wpa_group-’+ the_name +’:first.tocopy’, p);
To:
var the_group = $(‘.wpa_group-’+ the_name +’.tocopy:first’, p);
-
This reply was modified 8 months, 1 week ago by
frosty.
December 12, 2012 at 9:11 am #2506December 12, 2012 at 11:24 pm #2507Launching site on Monday …. 1 month
Updated to WP 3.5 … 30 seconds
Noticing that 3.5 WP breaks repeatable do-copy … 1 hr
E-mailing Kathy while panicking … 1/2 hr
Figuring out how to rollback to 3.4.2 … 1 hr
Figuring out how to deregistering 1.8.2 … 4 hrs
Realizing that Frosty + Dimas = code gangstas … PRICELE$$
Thanks guys
February 7, 2013 at 11:10 am #2526Hmmm, I copied 1.5.2 from github, I see the version listed, but this issue is still happening to me.
This is the line I’m seeing in the new version of MetaBox.php, which doesn’t seem to be working:
var the_group = $(‘.wpa_group-’+ the_name +’.tocopy’, p).first();
* @version1.5.2
Thanks,
Wendy
February 8, 2013 at 10:27 am #2528Is it necessary to roll back jquery as well?
February 8, 2013 at 10:29 am #2529Just checked, and that’s not the problem for me, as I’m explicitly running 1.7.1 and still no docopy.
February 8, 2013 at 10:32 am #2530Oops, it was my error, there was a copy of metabox.php in the theme directory, so I was updating the wrong version. Apologies! All is well.
March 14, 2013 at 9:50 am #2540Aooch thanks mates…!
Been looking for this exact problem! You saved me a few hours of search in the source code…
Thanks for the 1.5.2 Update, works like a charm now…;)March 25, 2013 at 10:03 am #2541The issue I am having in WP 3.5.1 is that when I have created several repeatable items and then click “Save” it adds another black repeatable item. I click “Remove” and it goes away and then appears again when I click “Save”.
Any idea what is causing this or how to fix it?
Thanks!
March 31, 2013 at 8:45 am #2543That was a bug, and I guess, even in the latest versions, that also occurs.
Regards,
Carlos Newman of web design canada serviceApril 3, 2013 at 8:19 am #2546Thought: ouch! It broke after the update. But Frosty’s code seems to work. Thank you!
April 5, 2013 at 12:31 pm #2548Hmm – I’m having trouble with this when coupled with a media upload box – no new boxes after the first one (you can delete it and re-add it, but only 1). 1.5.2 didn’t seem to fix this issue. Works fine when you strip out the media uploader component.
-
This reply was modified 8 months, 1 week ago by
-
AuthorPosts
You must be logged in to reply to this topic.
Same issue here unfortunetly