appscms-tools-theme 0.9.7 → 0.9.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/assets/js/googledrive.js +2 -0
- 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: 0aa54b051939dc3460cd9fff6ce23f00eea899934c5520d0e093c632eca3d697
|
4
|
+
data.tar.gz: b566c645d99a56a21990bcd58cef989d2a13dd2d8b3d41444747197b41ebed85
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3bee36f37fce5458ca715efdb3aed1a12bd957878f64d88f20920f624ba25fe1bcccfebc94ad462a8fe409a51aa7d955aaff69cfb4957f5beb16aac9f57e2fcf
|
7
|
+
data.tar.gz: 43025dbd0f76e73da5817ac2026986bd2ea34cca033ae03b1e1668da29554f672095bbd624b388a4869fd035a9d0005805ccb60dbcd936e6f60695b5257e9684
|
data/assets/js/googledrive.js
CHANGED
@@ -95,11 +95,13 @@ function chooseFromDropbox() {
|
|
95
95
|
}
|
96
96
|
var file = files[0]
|
97
97
|
const url = new URL(file.link)
|
98
|
+
showLoader()
|
98
99
|
const response = await fetch(url).then((res) => res.blob())
|
99
100
|
let metadata = {
|
100
101
|
type: response.type,
|
101
102
|
}
|
102
103
|
let newFile = new File([response], file.name, metadata)
|
104
|
+
closeLoader()
|
103
105
|
getDropBoxFile(newFile)
|
104
106
|
},
|
105
107
|
cancel: function () {},
|