Skip to content

Commit

Permalink
#4139 fix file fragment edit button disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
sekmiller committed Oct 18, 2017
1 parent 5a53fa0 commit 40dce08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/webapp/filesFragment.xhtml
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@
<div style="margin-right:14px;" class="btn-group" jsf:rendered="#{DatasetPage.sessionUserAuthenticated
and DatasetPage.canUpdateDataset() and !widgetWrapper.widgetView and (DatasetPage.fileMetadatasSearch.size() gt 0)}">
<button type="button" class="btn btn-default btn-access dropdown-toggle" data-toggle="dropdown"
disabled="#{DatasetPage.locked ? 'disabled' : ''}">
disabled="#{DatasetPage.lockedFromEdits ? 'disabled' : ''}">
<span class="glyphicon glyphicon-pencil"/> #{bundle['file.editFiles']} <span class="caret"></span>
</button>
<ul class="dropdown-menu multi-level pull-right text-left" role="menu">
Expand Down

0 comments on commit 40dce08

Please sign in to comment.