Skip to content

Commit

Permalink
fixed interaction with there are hidden layers, fixes #3090
Browse files Browse the repository at this point in the history
  • Loading branch information
javisantana committed Apr 9, 2015
1 parent 10a1f20 commit fc050fb
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 6 deletions.
3 changes: 3 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
3.10.1 ()
* fixed interaction when there are hidden layers #3090

3.10.0 (2015-04-08)
-------------------
* Internal code refactor to allow to disable subdomain-based general application behaviour, to rely instead on URIs like 'domain.com/u/USER/...', or allow to have both systems working at the same time (subdomainless and with subdomain)
Expand Down
2 changes: 1 addition & 1 deletion lib/assets/javascripts/cdb
Submodule cdb updated from c7b47c to a89883
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cartodb-ui",
"version": "3.9.0",
"version": "3.9.1",
"description": "CartoDB UI frontend",
"repository": {
"type": "git",
Expand Down
8 changes: 4 additions & 4 deletions vendor/assets/javascripts/cartodb.uncompressed.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// cartodb.js version: 3.14.0
// uncompressed version: cartodb.uncompressed.js
// sha: c7b47c5cae9ae4722b62cc38d0a2f60117a4d40e
// sha: a89883013ddbe27335df75b08815533cd42112f9
(function() {
var root = this;

Expand Down Expand Up @@ -25652,7 +25652,7 @@ if (typeof window !== 'undefined') {

var cdb = root.cdb = {};

cdb.VERSION = "3.13.2";
cdb.VERSION = "3.14.0";
cdb.DEBUG = false;

cdb.CARTOCSS_VERSIONS = {
Expand Down Expand Up @@ -33478,7 +33478,7 @@ LayerDefinition.prototype = _.extend({}, Map.prototype, {
return n;
}
layer_def.options.interactivity = this._cleanInteractivity(layer.options.interactivity);
var infowindow = this.getInfowindowData(i);
var infowindow = this.getInfowindowData(this.getLayerNumberByIndex(i));
var attrs = layer.options.attributes ? this._cleanInteractivity(this.options.attributes):(infowindow && fields(infowindow.fields));
if (attrs) {
layer_def.options.attributes = {
Expand Down Expand Up @@ -33612,7 +33612,7 @@ LayerDefinition.prototype = _.extend({}, Map.prototype, {
//'v1',
Map.BASE_URL.slice(1),
this.layerToken,
layer,
this.getLayerIndexByNumber(layer),
'attributes',
feature_id].join('/');

Expand Down

0 comments on commit fc050fb

Please sign in to comment.