Fix #1732 inconsistent 'target' attribute in popup menus

This commit is contained in:
Kijin Sung 2021-06-19 22:30:18 +09:00
parent 865e83a46a
commit 856f2af743
5 changed files with 22 additions and 19 deletions

View file

@ -2736,7 +2736,7 @@ class documentController extends document
* @param string $target
* @return void
*/
function addDocumentPopupMenu($url, $str, $icon = '', $target = 'self')
function addDocumentPopupMenu($url, $str, $icon = '', $target = '_blank')
{
$document_popup_menu_list = Context::get('document_popup_menu_list');
if(!is_array($document_popup_menu_list)) $document_popup_menu_list = array();