Commit 98b2beef177b989f35ef0c2162f1dd6c79849785

Authored by Swarn Singh
1 parent d011f511c9
Exists in master

contact view go back bug fixed

app/partials/viewcontact/viewcontact.controller.js
... ... @@ -15,6 +15,10 @@
15 15 contactCompanyId = result.owner.id;
16 16 })
17 17  
  18 + $scope.goBack = function(){
  19 + window.history.back();
  20 + }
  21 +
18 22 $scope.contactIdList = {};
19 23 var index;
20 24 var one = 1;
... ...
app/partials/viewcontact/viewcontact.html
... ... @@ -15,6 +15,7 @@
15 15 <i class="icon-pencil"></i>
16 16 <i class="fa fa-building-o" aria-hidden="true"></i>
17 17 <h3>Antioch Flight Department</h3>
  18 + <i class="fa fa-times" areia-hidden="true" ng-click="goBack()" style="float: right; margin-top: 10px; margin-right: 10px; cursor: pointer;"></i>
18 19 </div>
19 20 <div class="widget-content" style="padding-left: 0; padding-right: 0; ">
20 21 <div class="container">
... ...