Tagged: docopy jquery
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 #2470
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 #2471
docopy no longer produces a repeatable item. But removeall and remove item still works.October 11, 2012 at 12:28 pm #2472
Found the issue. Seems in
.tocopyclass needs to be before the
var the_group = $(‘.wpa_group-’+ the_name +’:first.tocopy’, p);
var the_group = $(‘.wpa_group-’+ the_name +’.tocopy:first’, p);
December 12, 2012 at 9:11 am #2506December 12, 2012 at 11:24 pm #2507
- This reply was modified 1 year, 1 month ago by frosty.
Launching 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 guysFebruary 7, 2013 at 11:10 am #2526
Hmmm, 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();
WendyFebruary 8, 2013 at 10:27 am #2528
Is it necessary to roll back jquery as well?February 8, 2013 at 10:29 am #2529
Just 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 #2530
Oops, 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 #2540
Aooch 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 #2541
The 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 #2543
That was a bug, and I guess, even in the latest versions, that also occurs.
Carlos Newman of web design canada serviceApril 3, 2013 at 8:19 am #2546
Thought: ouch! It broke after the update. But Frosty’s code seems to work. Thank you!April 5, 2013 at 12:31 pm #2548
Hmm – 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.
You must be logged in to reply to this topic.