F #4211: Fix direct links to other panel's form

This commit is contained in:
Carlos Martín committed 2016-09-14 14:56:02 +02:00
1 parent 91337ed00c
commit e8de4b1cf8
1 file changed
+4
+4
View File
@@ -1039,6 +1039,10 @@ define(function(require) {
tabId = _getTab()
}
if(_getTab() != tabId){
_routerShowTab(tabId);
}
if (!_formPanelVisible($("#"+tabId)) && router != undefined){
router.navigate(tabId+"/form");
}