From d424c2eb20e1cc620ce7ceacf57bd101bfb18c3d Mon Sep 17 00:00:00 2001 From: Rob Harrington Date: Wed, 1 Jun 2016 13:36:18 +1000 Subject: [PATCH] Enterprise form SaveBar becomes available when adding a new rule --- .../admin/tag_rules/controllers/tag_rules_controller.js.coffee | 1 + 1 file changed, 1 insertion(+) diff --git a/app/assets/javascripts/admin/tag_rules/controllers/tag_rules_controller.js.coffee b/app/assets/javascripts/admin/tag_rules/controllers/tag_rules_controller.js.coffee index 45f98a2b57..460d8565eb 100644 --- a/app/assets/javascripts/admin/tag_rules/controllers/tag_rules_controller.js.coffee +++ b/app/assets/javascripts/admin/tag_rules/controllers/tag_rules_controller.js.coffee @@ -38,6 +38,7 @@ angular.module("admin.tagRules").controller "TagRulesCtrl", ($scope, $http, $fil newRule.peferred_exchange_tags = [] newRule.preferred_matched_order_cycles_visibility = "visible" tagGroup.rules.push(newRule) + $scope.enterprise_form.$setDirty() $scope.updateRuleCounts() $scope.addNewTag = ->