Profiler/Localization

* support non-latin realm names
 * actually set characters as updated after resync was skipped due to character not having logged in since last resync
This commit is contained in:
Sarjuuk
2022-02-14 16:04:26 +01:00
parent 4255933328
commit 53e2af2116
7 changed files with 12 additions and 11 deletions

View File

@@ -656,7 +656,7 @@ function pr_DirectLookup(form, browse)
if(browse)
{
if(region.val() || server.val() || name.val())
location.href = '?profiles' + (region.val() ? '=' + region.val() + (server.val() ? '.' + g_urlize(server.val(), false, true) : '') : '') + (name.val() ? '&filter=na=' + name.val() + ';ex=on' : '');
location.href = '?profiles' + (region.val() ? '=' + region.val() + (server.val() ? '.' + g_urlize(server.val(), true, true) : '') : '') + (name.val() ? '&filter=na=' + name.val() + ';ex=on' : '');
return false;
}
@@ -691,7 +691,7 @@ function pr_DirectLookup(form, browse)
if(region.val() && server.val())
usePath = false;
location.href = (usePath ? menuItem[2].replace('profiles', 'profile') : '?profile=' + region.val() + '.' + g_urlize(server.val(), false, true)) + '.' + g_cleanCharacterName(name.val());
location.href = (usePath ? menuItem[2].replace('profiles', 'profile') : '?profile=' + region.val() + '.' + g_urlize(server.val(), true, true)) + '.' + g_cleanCharacterName(name.val());
return false;
}
@@ -809,4 +809,4 @@ if($WH.isset('mn_profiles'))
Menu.findItem(mn_path, [1,5,3])[MENU_IDX_SUB] = mn_arenateams;
PageTemplate.getBreadcrumb().bind('update', pr_onBreadcrumbUpdate);
}
}