From e8de4b1cf87b88f711f18863ded29d338df80e65 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20Mart=C3=ADn?= Date: Wed, 14 Sep 2016 14:55:28 +0200 Subject: [PATCH] F #4211: Fix direct links to other panel's form --- src/sunstone/public/app/sunstone.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/sunstone/public/app/sunstone.js b/src/sunstone/public/app/sunstone.js index 094ca6eb28..18367602ff 100644 --- a/src/sunstone/public/app/sunstone.js +++ b/src/sunstone/public/app/sunstone.js @@ -1039,6 +1039,10 @@ define(function(require) { tabId = _getTab() } + if(_getTab() != tabId){ + _routerShowTab(tabId); + } + if (!_formPanelVisible($("#"+tabId)) && router != undefined){ router.navigate(tabId+"/form"); }