Commit df93ad91 authored by Raph El's avatar Raph El

Hotfix map app

parent a183cf85
......@@ -2848,11 +2848,17 @@ var directory = {
&& typeof costum.app != 'undefined'
&& typeof directory.appKeyParam != 'undefined'
&& typeof costum.app[directory.appKeyParam] != 'undefined'
&& typeof costum.app[directory.appKeyParam].map != 'undefined'
&& typeof costum.app[directory.appKeyParam].map.hash != 'undefined'){
&& typeof costum.app[directory.appKeyParam].map != 'undefined'){
mylog.log('headerStr if');
headerStr+= '<a class="lbh-menu-app btn btn-hash-map" href="'+costum.app[directory.appKeyParam].map.hash+'" style="" title="'+trad.showmap+'" alt="'+trad.showmap+'">'+
'<i class="fa fa-map-marker"></i> '+trad.map+'</a>';
if( typeof costum.app[directory.appKeyParam].map.hash != 'undefined') {
mylog.log('headerStr if');
headerStr+= '<a class="lbh-menu-app btn btn-hash-map" href="'+costum.app[directory.appKeyParam].map.hash+'" style="" title="'+trad.showmap+'" alt="'+trad.showmap+'">'+
'<i class="fa fa-map-marker"></i> '+trad.map+'</a>';
} else if ( costum.app[directory.appKeyParam].map == true) {
headerStr+= '<button class="btn-show-map hidden-xs" style="" title="'+trad.showmap+'" alt="'+trad.showmap+'">'+
'<i class="fa fa-map-marker"></i> '+trad.map+'</button>';
}
} else if( !notNull(directory.costum)
|| typeof directory.costum.header == 'undefined'
|| typeof directory.costum.header.map== 'undefined'
......
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