mirror of
https://github.com/documize/community.git
synced 2025-07-24 07:39:43 +02:00
fixed import document click zone
This commit is contained in:
parent
71b2e30fbc
commit
cbcb7a380f
2 changed files with 3 additions and 2 deletions
|
@ -22,7 +22,7 @@ export default Ember.Component.extend(NotifierMixin, TooltipMixin, {
|
|||
documentService: Ember.inject.service('document'),
|
||||
session: Ember.inject.service(),
|
||||
appMeta: Ember.inject.service(),
|
||||
|
||||
|
||||
showToolbar: false,
|
||||
folder: {},
|
||||
busy: false,
|
||||
|
@ -66,7 +66,7 @@ export default Ember.Component.extend(NotifierMixin, TooltipMixin, {
|
|||
|
||||
Dropzone.options.uploadDocuments = false;
|
||||
|
||||
let dzone = new Dropzone("#import-document-button", {
|
||||
let dzone = new Dropzone("#import-document-button > i", {
|
||||
headers: {
|
||||
'Authorization': 'Bearer ' + self.get('session.session.content.authenticated.token')
|
||||
},
|
||||
|
|
|
@ -63,6 +63,7 @@
|
|||
i {
|
||||
color: $color-stroke;
|
||||
text-align: center;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
&:before {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue