We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

diagram.saveDiagram NOT working in IE 11, we get an error in the console.

Thread ID:

Created:

Updated:

Platform:

Replies:

148564 Oct 24,2019 11:57 PM UTC Oct 25,2019 10:44 AM UTC JavaScript - EJ 2 1
loading
Tags: Diagram
Kevin Orcutt
Asked On October 24, 2019 11:57 PM UTC

Hello all,
  In testing our site over in IE 11 we've found that when trying to save a diagram's layout via the diagramObj.saveDiagram funstion we get an error in the console area of 

SCRIPT5007: Object.keys: argument is not an Object

Any ideas...  We've been testing in Chrome and it's working just fine.  Here;s the code that is trying to execute:

$(document).on('click',
        '.btn_submit',
        function () {
            console.log("Save Flowchart");
            var lo = diagramObj.saveDiagram();
            console.log("Got Layout");
            $("#workflow-layout-hidden").val(lo);
            console.log("Updated layout");
            console.log(diagramObj);
            $('.workflowEditForm').submit();
        });

It's hitting the error on the highlighted line...

Thanks in advance,

Kevin Orcutt
Senior Applications Developer
Phone: (513) 985-7090
Mobile: (513) 850-1335 (personal)
Email: korcutt@belcan.com
www.belcan.com

Shyam G [Syncfusion]
Replied On October 25, 2019 10:44 AM UTC

Hi Kevin, 
 
We have created a layout sample and saved a diagram using saveDiagram method and we are unable to replicate an issue at our end. Could you please share us more details such as modify the below sample. 
 
 
Regards, 
Shyam G 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon