Save and Copy Plugin

4 posts by 2 authors in: Forums > CMS Builder: Plugins & Add-ons
Last Post: May 11, 2015   (RSS)

By kkegans - April 30, 2015

Is there any update on the image saving issue in the Save and Copy add in? This is a great feature, but the issue with the image uploads updating the original record is a pain.

CMSB Rocks!
Thanks,
Kurt

Hey Kurt, 

I've just done some quick testing, but couldn't replicate the issue. Here are the steps I took:

  • Created a new record with an upload, and pressed save and copy twice.
  • Tried deleting an image from one record and checked that it hadn't been deleted from any of the other copied records.
  • Checked that the other uploads had different file names.
  • Tried adding new images to one record, and ensuring it hadn't been added to other records.

I was testing using the latest copy of the plugin from here:

http://www.interactivetools.com/add-ons/save-and-copy/

Are you still having this issue? Can you let me know how I can replicate it?

Thanks!

Greg

Greg Thomas







PHP Programmer - interactivetools.com

By gregThomas - May 11, 2015

Hey Kurt,

I've been doing some testing on our local server, and I was able to replicate the issue and I think I've resolved it.

In the most recent releases of CMSB we upgraded the version of JQuery, and the code that detects the iframes on the page seems to not work correctly. 

I've changed the code on line 55 of saveAndCopy.js from this:

      $('iframe.[id$=_iframe]').each(function(index) {

to this:

      $("iframe[id$='_iframe']").each(function(index) {

and this seems to have resolved the issue in Chrome and FireFox. 

Thanks,

Greg

Greg Thomas







PHP Programmer - interactivetools.com