Enterprise form SaveBar becomes available when adding a new rule

This commit is contained in:
Rob Harrington
2016-06-01 13:36:18 +10:00
committed by Bing Xie
parent c8c8f0d02d
commit d424c2eb20

View File

@@ -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 = ->