Revert "* Api: Fix bug where some links opened in the application's main tab instead of popups"

It did not take into account all apps (projectmanager & addressbook should open in main tab)

This reverts commit 474796c9bb.
This commit is contained in:
nathangray 2019-10-17 15:03:47 -06:00
parent 46ec335c42
commit 00d995b4b5

View File

@ -1556,7 +1556,7 @@ var et2_link_string = (function(){ "use strict"; return expose(et2_valueWidget.e
}
else
{
self.egw().open(_link_data, "", "view",null,null,_link_data.app);
self.egw().open(_link_data, "", "view",null,_link_data.app,_link_data.app);
}
e.stopImmediatePropagation();
});
@ -1951,7 +1951,7 @@ var et2_link_list = (function(){ "use strict"; return et2_link_string.extend(
if( !self.options.target_app ){
self.options.target_app = _link_data.app;
}
self.egw().open(_link_data, "", "view",null,_link_data.target ? _link_data.target : null,self.options.target_app);
self.egw().open(_link_data, "", "view",null,_link_data.target ? _link_data.target : _link_data.app,self.options.target_app);
}
});
}