mirror of https://github.com/apache/cloudstack.git
Merge branch 'master' of ssh://git.cloud.com/var/lib/git/cloudstack-oss
This commit is contained in:
commit
a40fdf158b
|
|
@ -677,7 +677,7 @@ long milliseconds = new Date().getTime();
|
|||
<!-- Left Menu ends here-->
|
||||
</div>
|
||||
<div id="footer">
|
||||
<div class="footer_testprovisiongtool">
|
||||
<div class="footer_testprovisiongtool" id="launch_test" style="display:none">
|
||||
<div class="footer_testprovisiongtool_icon"></div>
|
||||
<a href="#">Launch Test Provisioning Tool</a>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -181,9 +181,7 @@ $(document).ready(function() {
|
|||
return false;
|
||||
});
|
||||
|
||||
/*
|
||||
initializeTestTool();
|
||||
*/
|
||||
|
||||
// Default AJAX Setup
|
||||
$.ajaxSetup({
|
||||
|
|
@ -357,6 +355,11 @@ $(document).ready(function() {
|
|||
|
||||
$("#main_username").text(g_username);
|
||||
$("#login_wrapper").hide();
|
||||
if (isAdmin()) {
|
||||
$("#launch_test").show();
|
||||
} else {
|
||||
$("#launch_test").hide();
|
||||
}
|
||||
$("#main").show();
|
||||
$("#leftmenu_dashboard").click();
|
||||
},
|
||||
|
|
@ -436,6 +439,11 @@ $(document).ready(function() {
|
|||
buildSecondLevelNavigation();
|
||||
$("#main_username").text(g_username);
|
||||
$("#leftmenu_dashboard").click();
|
||||
if (isAdmin()) {
|
||||
$("#launch_test").show();
|
||||
} else {
|
||||
$("#launch_test").hide();
|
||||
}
|
||||
$("#main").show();
|
||||
},
|
||||
error: function(xmlHTTP) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue