Commit 5ce9e0c8 authored by Remon Huijts's avatar Remon Huijts
Browse files

Merge branch 'master' into 66-clean-up-of-code-from-mobile-phone-compatibility-issue

parents 95d25408 a4b403af
......@@ -123520,7 +123520,10 @@ EventRules.prototype.save = function() {
value.push(this.rules[i].attributes);
}
var cellValue = this.getCellValue();
cellValue.setAttribute('on' + this.eventName, JSON.stringify(value));
// Store all interactions in the onclick attribute:
cellValue.setAttribute('onclick', JSON.stringify(value));
// Clear any interactions in the onhover attribute of legacy graphs:
cellValue.removeAttribute('onhover');
this.graph.getModel().setValue(this.cell, cellValue);
};
 
......@@ -198,7 +198,10 @@ EventRules.prototype.save = function() {
value.push(this.rules[i].attributes);
}
var cellValue = this.getCellValue();
cellValue.setAttribute('on' + this.eventName, JSON.stringify(value));
// Store all interactions in the onclick attribute:
cellValue.setAttribute('onclick', JSON.stringify(value));
// Clear any interactions in the onhover attribute of legacy graphs:
cellValue.removeAttribute('onhover');
this.graph.getModel().setValue(this.cell, cellValue);
};
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment