Commit 698c7166 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

fix on aligning left panel

parent b5bfab29
......@@ -69,9 +69,7 @@ GuiConnector.init = function() {
});
});
GuiConnector.leftPanelTabNavi = new TabNavi("tabView", {
top : "17px"
});
GuiConnector.leftPanelTabNavi = new TabNavi("tabView");
};
/**
......
......@@ -415,7 +415,7 @@ CustomMap.prototype.openSubmodel = function(id) {
};
CustomMap.prototype.customizeGoogleMapView = function(div) {
var mapOptions = this.creatMapOptions(this.getLayouts().length);
var mapOptions = this.creatMapOptions();
this.setGoogleMap(new google.maps.Map(div, mapOptions));
this.setupLayouts();
......
......@@ -120,6 +120,9 @@ AbstractTargettingDbOverlay.prototype.getDetailDataByIdentifiedElement = functio
var queries =self.getQueries();
for (var i=0;i<queries.length;i++) {
var drugs = self._elementsByQuery[queries[i]];
if (drugs===undefined) {
drugs = [];
}
for (var j=0;j<drugs.length;j++){
var drug = drugs[j];
var targets = drug.getTargets();
......
......@@ -16,7 +16,7 @@
<title>#{mapMB.currentProject.name}</title>
<!-- Google Maps API version 3.20 -->
<script src="https://maps.google.com/maps/api/js?libraries=drawing&amp;v=3.22" type="text/javascript"/>
<script src="https://maps.google.com/maps/api/js?libraries=drawing&amp;v=3.26" type="text/javascript"/>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" type="text/javascript"/>
<script src="http://twitter.github.io/typeahead.js/releases/latest/typeahead.bundle.min.js" type="text/javascript"/>
......@@ -76,7 +76,6 @@ function initMap(){
<h:outputScript library="primefaces" name="jquery/jquery.js" target="head" />
<div class = "containerClass">
<div id="leftPanel" class ="leftPanelClass">
<ui:include src="/WEB-INF/components/admin/header.xhtml" />
<p:tabView id="tabView" widgetVar="_tabViewVar" styleClass="leftTabView" activeIndex="0" >
......@@ -115,6 +114,7 @@ function initMap(){
</div>
<div style="display: table-cell;height:100%;width:100%;">
<div style="height:100%;width:100%;">
<div class="menuBelt">
<div class="headerHideDivButton">
<button name="hideButton" class="headerHideButton">
......@@ -169,6 +169,7 @@ function initMap(){
</div>
</div>
</div>
</div>
<ui:include src="/WEB-INF/components/map/feedbackDialog.xhtml" />
......@@ -192,6 +193,7 @@ function initMap(){
<p:remoteCommand name="_sendReferenceGenomeDetailRequest" actionListener="#{referenceGenomeMB.requestJavasciptGenomeDetails}" />
</h:form>
</h:body>
</f:view>
</html>
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