Skip to content
Snippets Groups Projects

Resolve "Get drugs by target"

Merged Piotr Gawron requested to merge 163-get-drugs-by-target into master
2 files
+ 5
4
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -97,7 +97,7 @@ AbstractInfoWindow.prototype.getOverlayFullViewArray = function() {
AbstractInfoWindow.prototype.setOverlayFullView = function(overlayName, value) {
var oldVal = this._overlayFullView[overlayName];
this._overlayFullView[overlayName] = value;
this.firePropertyChangeListener("overlayFullView", overlayName + "," + oldVal, value);
return this.firePropertyChangeListener("overlayFullView", overlayName + "," + oldVal, value);
};
/**
@@ -419,8 +419,7 @@ AbstractInfoWindow.prototype._createTargetInfoDiv = function(overlay, data, name
checkbox.type = "checkbox";
checkbox.checked = self.isOverlayFullView(overlay.getName());
var checkboxClickedFunction = function() {
self.setOverlayFullView(overlay.getName(), this.checked);
return true;
return self.setOverlayFullView(overlay.getName(), this.checked).then(null, GuiConnector.alert);
};
checkbox.onclick = checkboxClickedFunction;
Loading