Skip to content

Commit d5c4207

Browse files
pbatchupbatchu
authored andcommitted
changed addBill Bills push to use jQUERY extend object
1 parent cf0751b commit d5c4207

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

billrive-client/app/js/controllers.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ billRive.controller('BillAddCtrl', function($scope, billService, $location) {
6767

6868
$scope.addBill = function() {
6969
$scope.bills.push(jQuery.extend(true, {}, $scope.bill));
70+
// $scope.bills.push(JSON.parse(JSON.stringify($scope.bill)));
7071
$scope.bill = [];
7172
// $scope.bill=billService.getBill();
7273
$location.url('/');

0 commit comments

Comments
 (0)