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

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: [email protected]
www.belcan.com

1 Reply

SG Shyam G Syncfusion Team 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 


Loader.
Up arrow icon