update selection buttons
This commit is contained in:
@@ -364,6 +364,14 @@
|
||||
|
||||
updateFilterControls(this);
|
||||
|
||||
Dashboard.getCurrentUser().done(function(user) {
|
||||
if (user.Policy.IsAdministrator) {
|
||||
$('.btnMergeVersions', page).show();
|
||||
} else {
|
||||
$('.btnMergeVersions', page).hide();
|
||||
}
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
})(jQuery, document);
|
||||
Reference in New Issue
Block a user