Fix importing cloud vars from xml.

This commit is contained in:
Karishma Chadha 2018-11-29 22:58:41 -05:00
parent 2dae2f158a
commit 559b17c4ee

View file

@ -639,7 +639,7 @@ Blockly.Xml.domToVariables = function(xmlVariables, workspace) {
var type = xmlChild.getAttribute('type');
var id = xmlChild.getAttribute('id');
var isLocal = xmlChild.getAttribute('islocal') == 'true';
var isCloud = xmlChild.getAttribute('isCloud') == 'true';
var isCloud = xmlChild.getAttribute('iscloud') == 'true';
var name = xmlChild.textContent;
if (typeof(type) === undefined || type === null) {