Commit a9046742 authored by Raph El's avatar Raph El

Hotfix

parent c15fe4eb
......@@ -48,6 +48,7 @@ class NetworkModule extends CWebModule {
//'ressources.models.*',
//'classifieds.models.*'
'eco.models.*',
'costum.models.*',
'places.models.*',
'chat.models.*',
'interop.models.*',
......
......@@ -960,6 +960,9 @@ $this->renderPartial( $layoutPath.'modals.'.Yii::app()->params["CO2DomainName"].
if(typeof networkJson != "undefined" && notNull(networkJson)){
$(".main-menu-left").hide();
$("#vertical").remove();
$("#menuApp").remove();
}
});
......
......@@ -962,6 +962,8 @@ function getAjaxFiche(url, breadcrumLevel){
$.unblockUI();
// mylog.log(contextData);
//Construct breadcrumb
$("#vertical").remove();
$("#menuApp").remove();
if(breadcrumLevel != false){
$html= '<i class="fa fa-chevron-right fa-1x text-red breadcrumChevron" style="padding: 0px 10px 0px 10px;" data-value="'+breadcrumLevel+'"></i>'+'<a href="javascript:;" onclick="breadcrumGuide('+breadcrumLevel+',\''+urlHash+'\')" class="breadcrumAnchor text-dark" data-value="'+breadcrumLevel+'">'+contextData.name+'</a>';
$("#breadcrum").append($html);
......@@ -989,6 +991,8 @@ function getAjaxFiche(url, breadcrumLevel){
dataType: "json",
success: function(data){
mylog.log("getAjaxFiche data",data);
$("#vertical").remove();
$("#menuApp").remove();
if(data.result){
urlHash="#page.type."+data.contextType+".id."+data.contextId;
}else{
......
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