Commit b3435645 authored by EXT Hélène David's avatar EXT Hélène David
Browse files

get the right url when close the company detail modal

parent fd582819
......@@ -125,11 +125,6 @@ root.controller('AdminCompaniesCtrl' ,['$scope','$http','$stateParams', '$univer
$("#companyDetailsModal").removeClass("hide")
$("#companyDetailsModal").show()
}
adminCompaniesCtrl.closeModalCompanyDetails = function(){
adminCompaniesCtrl.detailsCompanyPanel = false;
$("#companyDetailsModal").hide()
}
adminCompaniesCtrl.openModalNewCompany = function(){
adminCompaniesCtrl.addCompanyPanel=true;adminCompaniesCtrl.detailsCompanyPanel=false;
......
......@@ -41,7 +41,7 @@
<div id="companyDetailsModal" class="chatPopupManager hide" >
<div class="dialog" style='width: 800px;height:560px;top:50px'>
<a ng-click='adminCompaniesCtrl.closeModalCompanyDetails();' title="Close" class="pointerOn close"><i class="fa fa-times"></i></a>
<a ui-sref="admin.companies({entrepriseId:null})" title="Close" class="pointerOn close"><i class="fa fa-times"></i></a>
<h4>{{entreprise.fullName}}</h4>
<div ng-include src="__root+'components/admin/companies/details.html'"></div>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment