PoliciesDialogView.js revision e26e5073e1266868172d72453c97f413fe2fb603
325N/A defaultAction: false,
325N/A defaultWorkflow: false,
325N/A defaultScript: false,
325N/A defaultConditionScript: false,
325N/A defaultConditionFilter: true,
325N/A if (_(this.model.action).isObject() && _(this.model.action).has("file") && this.model.action.file === "workflow/triggerWorkflowFromSync.js") {
325N/A var tempSelector,
325N/A actionScriptData = {},
325N/A conditionScriptData = {},
325N/A tempSelector = $("#defaultActionPane select option[value='"+this.model.basePolicy.action+"']");
if (valid) {
this.toggleActiveAlert(false);
this.toggleActiveAlert(true);
if (valid) {
this.toggleActiveAlert(false);
this.toggleActiveAlert(true);
}, _this),
buttons: [
var temp,
returnPolicy = {
if (temp === "conditionFilterTab" && this.model.conditionFilterEditor.getFilterString().length > 0) {
} else if (temp === "conditionScriptTab" && this.model.conditionScriptPaneEditor.generateScript() !== null) {
if (temp !== null) {
this.toggleActiveAlert(true);
this.toggleActiveAlert(false);
this.toggleActiveAlert(true);
this.toggleActiveAlert(false);
this.toggleActiveAlert(false);
if (show) {
return new PoliciesDialogView();