mirror of
https://github.com/Sarjuuk/aowow.git
synced 2025-11-29 15:58:16 +08:00
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:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user