Skip to content

Commit 7b2faa1

Browse files
committed
Merge pull request #51 from kmtabish/master
Fixed the pivotal tracker issue: #120166991
2 parents e603cd6 + 25fd2d9 commit 7b2faa1

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

control/design/index.html

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -207,9 +207,11 @@
207207

208208
$scope.data.design = $scope.data.design || {};
209209
$scope.data.design.colors = $scope.data.design.colors || {};
210+
// $scope.data.design.colorType = angular.equals({}, $scope.data.design.colors) ? "A" : "C";
210211

211-
$scope.data.design.colorType = angular.equals({}, $scope.data.design.colors) ? "A" : "C";
212-
212+
if(angular.equals({}, $scope.data.design.colors)){
213+
$scope.data.design.colorType = "A";
214+
}
213215
/*
214216
* watch for changes in data and trigger the saveData function on change
215217
* */

0 commit comments

Comments
 (0)