mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
CLOUDSTACK-1065: cloudstack UI - AWS Style Regions - when switching to another region, handle a case that the region's end point is not "http://hostname:port/client/"
This commit is contained in:
parent
16250f8e4b
commit
ac18b9b0f7
@ -59,7 +59,7 @@ $(document).ready(function() {
|
||||
*/
|
||||
if ($.urlParam('loginUrl') != 0) {
|
||||
$.cookie('loginUrl', $.urlParam('loginUrl'), { expires: 1});
|
||||
document.location.href = '/client/';
|
||||
document.location.href = window.location.href.substring(0, window.location.href.indexOf('?'));
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user