diff --git a/lib/assets/javascripts/cartodb/embed_map/index.js b/lib/assets/javascripts/cartodb/embed_map/index.js index 30b1a0ce9d..e365d0511a 100644 --- a/lib/assets/javascripts/cartodb/embed_map/index.js +++ b/lib/assets/javascripts/cartodb/embed_map/index.js @@ -70,11 +70,7 @@ function showPasswordProtectedForm () { data: data, assetsVersion: assetsVersion, handleRedirection: function (password) { - if (window.CartoConfig.data && window.CartoConfig.vizdata) { - showEmbedVisualization(password); - } else if (!window.CartoConfig.vizdata) { - getVisualization(password); - } + getVisualization(password); } }); diff --git a/lib/assets/javascripts/cartodb/public_map/index.js b/lib/assets/javascripts/cartodb/public_map/index.js index 84ec68f80b..64d73e60f9 100644 --- a/lib/assets/javascripts/cartodb/public_map/index.js +++ b/lib/assets/javascripts/cartodb/public_map/index.js @@ -72,7 +72,7 @@ $(function () { var data = window.CartoConfig.data; var config = data.config; - cdb.templates.namespace = 'cartodb/'; + cdb.templates.namespace = 'cartodb/'; cdb.config.set(config); document.title = TITLE({ title: _t('forbidden_map.title') diff --git a/npm-shrinkwrap.json b/npm-shrinkwrap.json index 7ee7f5e0bd..1df48c480f 100644 --- a/npm-shrinkwrap.json +++ b/npm-shrinkwrap.json @@ -1,6 +1,6 @@ { "name": "cartodb-ui", - "version": "4.10.110.12779-11", + "version": "4.10.110.12779-12", "dependencies": { "accessory": { "version": "1.0.1", diff --git a/package.json b/package.json index 3bb5a6426f..9c22b0ea4d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "cartodb-ui", - "version": "4.10.110.12779-11", + "version": "4.10.110.12779-12", "description": "CARTO UI frontend", "repository": { "type": "git", diff --git a/public/static/account/index.html b/public/static/account/index.html index d95b70089d..d885fa6b7c 100644 --- a/public/static/account/index.html +++ b/public/static/account/index.html @@ -69,7 +69,7 @@ diff --git a/public/static/dashboard/index.html b/public/static/dashboard/index.html index 6319c8518d..87d56f29fa 100644 --- a/public/static/dashboard/index.html +++ b/public/static/dashboard/index.html @@ -69,7 +69,7 @@ diff --git a/public/static/embed_map/index.html b/public/static/embed_map/index.html index 6a2df7727c..0bd9b314bc 100644 --- a/public/static/embed_map/index.html +++ b/public/static/embed_map/index.html @@ -69,7 +69,7 @@ diff --git a/public/static/profile/index.html b/public/static/profile/index.html index 0ed9b4ea1b..1b82cd6421 100644 --- a/public/static/profile/index.html +++ b/public/static/profile/index.html @@ -69,7 +69,7 @@ diff --git a/public/static/public_map/index.html b/public/static/public_map/index.html index e67d1691ab..7ad87d9266 100644 --- a/public/static/public_map/index.html +++ b/public/static/public_map/index.html @@ -69,7 +69,7 @@ diff --git a/public/static/show/index.html b/public/static/show/index.html index f454b9065a..5f8628a530 100644 --- a/public/static/show/index.html +++ b/public/static/show/index.html @@ -69,7 +69,7 @@