update selection buttons
This commit is contained in:
parent
59a3cada00
commit
1c27cdeb2c
35 changed files with 226 additions and 115 deletions
|
@ -461,6 +461,14 @@
|
|||
updateFilterControls(page);
|
||||
|
||||
filtersLoaded = false;
|
||||
|
||||
Dashboard.getCurrentUser().done(function (user) {
|
||||
if (user.Policy.IsAdministrator) {
|
||||
$('.btnMergeVersions', page).show();
|
||||
} else {
|
||||
$('.btnMergeVersions', page).hide();
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
})(jQuery, document);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue