Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Using correct class to remove a file
jsRemoveLink for multiple include
  • Loading branch information
motchju authored and nWidart committed Aug 1, 2016
1 parent 6ee4a95 commit fa65ca8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Resources/views/admin/fields/file-link-multiple.blade.php
Expand Up @@ -69,7 +69,7 @@
var mediaPlaceholder = '<video src="' + data.result.path + '" controls + width="320"></video>';
}
var html = '<figure data-id="'+ data.result.imageableId +'">' + mediaPlaceholder +
'<a class="jsRemoveSimpleLink" href="#" data-id="' + data.result.imageableId + '">' +
'<a class="jsRemoveLink" href="#" data-id="' + data.result.imageableId + '">' +
'<i class="fa fa-times-circle removeIcon"></i>' +
'</a></figure>';
window.zoneWrapper.append(html).fadeIn();
Expand Down

0 comments on commit fa65ca8

Please sign in to comment.