Skip to content

Commit

Permalink
SyncStart-Button to Admin-Selection
Browse files Browse the repository at this point in the history
The Sync+Start Button is now only accessible in administrator mode.
  • Loading branch information
MartinOehler committed Dec 7, 2014
1 parent 5cba3aa commit d352a4d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions static/js/linboclient_main.js
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,7 @@ function cancelautostart() {
function adminelementsvisible() {
$(".managebutton").show();
$(".createbutton").show();
$(".syncstartbutton").show();
$(".uploadbutton").show();
$(".vmmanagebutton").show();
}
Expand All @@ -177,6 +178,7 @@ function adminelementsvisible() {
function adminelementsinvisible() {
$(".managebutton").hide();
$(".createbutton").hide();
$(".syncstartbutton").hide();
$(".uploadbutton").hide();
$(".vmmanagebutton").hide();
}
Expand Down

0 comments on commit d352a4d

Please sign in to comment.