Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
save: function () {
var saveData = {};
saveData["settings"] = this.settingsForm.getForm().getFieldValues();
saveData["actions"] = this.actionsForm.getForm().getFieldValues();
saveData["actions"]["redirect.enabled"] = !this.actionsForm.getComponent("actions_redirect").collapsed;
saveData["actions"]["event.enabled"] = !this.actionsForm.getComponent("actions_event").collapsed;
saveData["actions"]["codesnippet.enabled"] = !this.actionsForm.getComponent("actions_codesnippet").collapsed;
saveData["actions"]["persona.enabled"] = !this.actionsForm.getComponent("actions_persona").collapsed;
saveData["actions"]["programmatically.enabled"] = !this.actionsForm.getComponent("actions_programmatically")
.collapsed;
var conditionsData = [];
var condition, tb, operator;
var conditions = this.conditionsContainer.items.getRange();
for (var i=0; i
save: function () {
var saveData = {};
saveData["settings"] = this.settingsForm.getForm().getFieldValues();
saveData["actions"] = this.actionsForm.getForm().getFieldValues();
saveData["actions"]["redirect.enabled"] = !this.actionsForm.getComponent("actions_redirect").collapsed;
saveData["actions"]["event.enabled"] = !this.actionsForm.getComponent("actions_event").collapsed;
saveData["actions"]["codesnippet.enabled"] = !this.actionsForm.getComponent("actions_codesnippet").collapsed;
saveData["actions"]["persona.enabled"] = !this.actionsForm.getComponent("actions_persona").collapsed;
saveData["actions"]["programmatically.enabled"] = !this.actionsForm.getComponent("actions_programmatically")
.collapsed;
var conditionsData = [];
var condition, tb, operator;
var conditions = this.conditionsContainer.items.getRange();
for (var i=0; i
save: function () {
var saveData = {};
saveData["settings"] = this.settingsForm.getForm().getFieldValues();
saveData["actions"] = this.actionsForm.getForm().getFieldValues();
saveData["actions"]["redirect.enabled"] = !this.actionsForm.getComponent("actions_redirect").collapsed;
saveData["actions"]["event.enabled"] = !this.actionsForm.getComponent("actions_event").collapsed;
saveData["actions"]["codesnippet.enabled"] = !this.actionsForm.getComponent("actions_codesnippet").collapsed;
saveData["actions"]["persona.enabled"] = !this.actionsForm.getComponent("actions_persona").collapsed;
saveData["actions"]["programmatically.enabled"] = !this.actionsForm.getComponent("actions_programmatically")
.collapsed;
var conditionsData = [];
var condition, tb, operator;
var conditions = this.conditionsContainer.items.getRange();
for (var i=0; i