appscms-tools-theme 1.1.9 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/assets/js/googledriveinput.js +2 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 32ce87db21ce0a538d73eadadfbe5afff6ac57f8df267331ca6692c9cf110468
|
4
|
+
data.tar.gz: 301109892ed1249e04905accc69430106b9914ff2d430316c6c456cc391730f9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a8cf43b7e9438b3ace87cc55734c205d79aa498ff2c8c74ff8ecbe45434a98719824cc5945b165bebc747e98b284d1abaf3c7f01c60ffc4c334ffcc114190d0d
|
7
|
+
data.tar.gz: dc95c6803300fe1e2b865a6b650369682b1657e91835722969fe574572635aff5dbaf9a4beeb9ce802b517540c51313ffe2fd06ad9a575e26dc73aca0e0a7301
|
@@ -1,6 +1,7 @@
|
|
1
1
|
---
|
2
2
|
---
|
3
3
|
|
4
|
+
var mimeTypes
|
4
5
|
const addScripts=()=>{
|
5
6
|
const scripts=document.getElementsByTagName('script')
|
6
7
|
const check= Array.from(scripts).find(item=>item.src==='https://www.dropbox.com/static/api/2/dropins.js')
|
@@ -28,7 +29,7 @@ const scope = [
|
|
28
29
|
let pickerApiLoaded = false
|
29
30
|
let oauthToken
|
30
31
|
const loadPicker = (mimeType) => {
|
31
|
-
|
32
|
+
mimeTypes=mimeType
|
32
33
|
gapi.load('auth', { callback: onAuthApiLoad })
|
33
34
|
gapi.load('picker', { callback: onPickerApiLoad })
|
34
35
|
}
|