From 5aa23d002d2889fb38373bf52f5652f0cc828f51 Mon Sep 17 00:00:00 2001 From: Blakko Date: Tue, 15 Oct 2013 17:37:31 +0200 Subject: [PATCH 1/2] The width of the previewCandidate window is set with the one declared in the reconciliation service --- main/webapp/modules/core/scripts/views/data-table/cell-ui.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/webapp/modules/core/scripts/views/data-table/cell-ui.js b/main/webapp/modules/core/scripts/views/data-table/cell-ui.js index ee6b4938a..08ba5d172 100644 --- a/main/webapp/modules/core/scripts/views/data-table/cell-ui.js +++ b/main/webapp/modules/core/scripts/views/data-table/cell-ui.js @@ -450,7 +450,7 @@ DataTableCellUI.prototype._previewCandidateTopic = function(candidate, elmt, pre var id = candidate.id; var fakeMenu = MenuSystem.createMenu(); fakeMenu - .width(414) + .width(preview.width?preview.width:414) .addClass('data-table-topic-popup') .html(DOM.loadHTML("core", "scripts/views/data-table/cell-recon-preview-popup-header.html")); From 23be77ef147f3c700759e8ba0aab13b13c778d2e Mon Sep 17 00:00:00 2001 From: Pablo Moyano Date: Sat, 28 Dec 2013 04:00:14 -0300 Subject: [PATCH 2/2] fixing bug #839 --- main/webapp/modules/core/scripts/project/browsing-engine.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/webapp/modules/core/scripts/project/browsing-engine.js b/main/webapp/modules/core/scripts/project/browsing-engine.js index d1ddc257d..04bc571b2 100644 --- a/main/webapp/modules/core/scripts/project/browsing-engine.js +++ b/main/webapp/modules/core/scripts/project/browsing-engine.js @@ -189,7 +189,7 @@ BrowsingEngine.prototype.addFacet = function(type, config, options) { this._facets.push({ elmt: elmt, facet: facet }); - ui.leftPanelTabs.tabs("select", 0); + ui.leftPanelTabs.tabs({ active: 0 }); Refine.update({ engineChanged: true }); };