mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-09-01 21:22:04 +03:00
Added basic attachment editing functionality
This commit is contained in:
@@ -116,6 +116,7 @@ module.exports = function (ngApp, events) {
|
||||
uploadedTo: '@'
|
||||
},
|
||||
link: function (scope, element, attrs) {
|
||||
if (attrs.placeholder) element[0].querySelector('.dz-message').textContent = attrs.placeholder;
|
||||
var dropZone = new DropZone(element[0].querySelector('.dropzone-container'), {
|
||||
url: scope.uploadUrl,
|
||||
init: function () {
|
||||
|
Reference in New Issue
Block a user