Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Copy & Paste Multiple object (Read 2669 times)
Marco Pessina
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 5
Joined: Jun 4th, 2013
Copy & Paste Multiple object
Oct 31st, 2018 at 4:12pm
Print Post  
Hi,
I'm using Diagram for asp.net mvc, and I've realized a copy paste pattern. Everything work correctly when I copy and paste only one item everything works fine.
If I select more items (nodes and links), the item are copied
in the diagram but I got an error in the console and my javascript execution breaks. The error I got is this:

VM4883:1 Uncaught TypeError: Cannot read property 'onLoad' of undefined
    at b.Diagram.pasteFromClipboard (eval at <anonymous> (eval at globalEval (jquery-2.1.3.js:328)), <anonymous>:1:132924)

Any suggestion?
Can you help me?

Thanks in advance.
Regards.
Marco Pessina
  

Copy-Paste_Diagram_error.JPG ( 160 KB | 147 Downloads )
Copy-Paste_Diagram_error.JPG
Back to top
 
IP Logged
 
Slavcho
YaBB Moderator
*****
Offline


tech.support

Posts: 3146
Joined: Oct 19th, 2005
Re: Copy & Paste Multiple object
Reply #1 - Nov 1st, 2018 at 10:30am
Print Post  
Hi,

We have reproduced with unconnectedLinks argument of paste method set to false. Set it to true for time being, or unselect links before copy if their nodes are not selected.

Regards,
Slavcho
Mindfusion
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint