Open most member popup menus in the same window #2154

This commit is contained in:
Kijin Sung 2023-07-17 21:58:25 +09:00
parent 64b2918559
commit e22ae8259a
2 changed files with 7 additions and 2 deletions

View file

@ -221,6 +221,11 @@
var icon = item[i].icon;
var target = item[i].target;
// Convert self to _self #2154
if (target === 'self') {
target = '_self';
}
var actmatch = url.match(/\bact=(\w+)/) || url.match(/\b((?:disp|proc)\w+)/);
var act = actmatch ? actmatch[1] : null;
var classText = 'class="' + (classname ? classname : (act ? (act + ' ') : ''));