Skip to content

Commit acb9eed

Browse files
committed
Fixes browse-file-button in link builder out of function
1 parent db1307f commit acb9eed

File tree

1 file changed

+1
-1
lines changed
  • src/Presentation/SmartStore.Web/Views/Shared/EditorTemplates

1 file changed

+1
-1
lines changed

src/Presentation/SmartStore.Web/Views/Shared/EditorTemplates/Link.cshtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@
118118
@if (allowedTypes.Contains(LinkType.File))
119119
{
120120
<div class="input-group-append link-control@(link.Type == LinkType.File ? "" : " hide")" data-type="file">
121-
<a href="javascript:void(0)" class="btn btn-secondary browse-files" data-url="@Url.Content("~/Admin/RoxyFileManager/")" data-field-id="lb-file-url-@rnd">
121+
<a href="javascript:void(0)" class="btn btn-secondary browse-files" data-file-manager-url="@base.FileManagerUrl" data-field-id="lb-file-url-@rnd">
122122
<i class="fa fa-upload"></i>
123123
<span>@(T("Common.BrowseFiles"))&hellip;</span>
124124
</a>

0 commit comments

Comments
 (0)