mirror of
https://github.com/documize/community.git
synced 2025-07-25 16:19:46 +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'),
|
documentService: Ember.inject.service('document'),
|
||||||
session: Ember.inject.service(),
|
session: Ember.inject.service(),
|
||||||
appMeta: Ember.inject.service(),
|
appMeta: Ember.inject.service(),
|
||||||
|
|
||||||
showToolbar: false,
|
showToolbar: false,
|
||||||
folder: {},
|
folder: {},
|
||||||
busy: false,
|
busy: false,
|
||||||
|
@ -66,7 +66,7 @@ export default Ember.Component.extend(NotifierMixin, TooltipMixin, {
|
||||||
|
|
||||||
Dropzone.options.uploadDocuments = false;
|
Dropzone.options.uploadDocuments = false;
|
||||||
|
|
||||||
let dzone = new Dropzone("#import-document-button", {
|
let dzone = new Dropzone("#import-document-button > i", {
|
||||||
headers: {
|
headers: {
|
||||||
'Authorization': 'Bearer ' + self.get('session.session.content.authenticated.token')
|
'Authorization': 'Bearer ' + self.get('session.session.content.authenticated.token')
|
||||||
},
|
},
|
||||||
|
|
|
@ -63,6 +63,7 @@
|
||||||
i {
|
i {
|
||||||
color: $color-stroke;
|
color: $color-stroke;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
&:before {
|
&:before {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue