Skip to content

Commit

Permalink
LPS-137687 Add readonly attributes to copy-url inputs in Media Librar…
Browse files Browse the repository at this point in the history
…y infoPanel
  • Loading branch information
Beltran Rengifo committed Oct 19, 2021
1 parent 3344828 commit 5ca4ad7
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -252,7 +252,7 @@ long assetClassPK = DLAssetHelperUtil.getAssetClassPK(fileEntry, fileVersion);

<div class="input-group input-group-sm">
<div class="input-group-item input-group-prepend">
<input class="form-control" id="<%= urlInputId %>" value="<%= DLURLHelperUtil.getPreviewURL(fileEntry, fileVersion, themeDisplay, StringPool.BLANK, !isLatestVersion, true) %>" />
<input class="form-control" id="<%= urlInputId %>" readonly value="<%= DLURLHelperUtil.getPreviewURL(fileEntry, fileVersion, themeDisplay, StringPool.BLANK, !isLatestVersion, true) %>" />
</div>

<span class="input-group-append input-group-item input-group-item-shrink">
Expand Down Expand Up @@ -291,7 +291,7 @@ long assetClassPK = DLAssetHelperUtil.getAssetClassPK(fileEntry, fileVersion);

<div class="input-group input-group-sm">
<div class="input-group-item input-group-prepend">
<input class="form-control" id="<%= webDavURLInputId %>" value="<%= DLURLHelperUtil.getWebDavURL(themeDisplay, fileEntry.getFolder(), fileEntry) %>" />
<input class="form-control" id="<%= webDavURLInputId %>" readonly value="<%= DLURLHelperUtil.getWebDavURL(themeDisplay, fileEntry.getFolder(), fileEntry) %>" />
</div>

<span class="input-group-append input-group-item input-group-item-shrink">
Expand Down

0 comments on commit 5ca4ad7

Please sign in to comment.