]> BookStack Code Mirror - bookstack/commitdiff
Merge pull request #1623 from leomartinez/master
authorDan Brown <redacted>
Sat, 7 Sep 2019 12:14:27 +0000 (13:14 +0100)
committerGitHub <redacted>
Sat, 7 Sep 2019 12:14:27 +0000 (13:14 +0100)
Updated 'Spanish Argentina' translation.

resources/assets/js/services/http.js
resources/assets/sass/_lists.scss

index 06cc6a04ffeab12b73cbfc21b67905f6c6f9e695..06dac9864a4d4523987e61f4009075ea34ed0594 100644 (file)
@@ -67,7 +67,7 @@ async function dataRequest(method, url, data = null) {
         body: data,
     };
 
-    if (typeof data === 'object') {
+    if (typeof data === 'object' && !(data instanceof FormData)) {
         options.headers = {'Content-Type': 'application/json'};
         options.body = JSON.stringify(data);
     }
index 7c7cc4b3589e8e3d8a4242055fc33d8d26a4301e..2e8fa257aebcf270e87bf438b00659ca85efcebd 100644 (file)
   padding: $-m $-xl;
   position: relative;
   &::before {
+    pointer-events: none;
     content: '';
     border-radius: 4px;
     opacity: 0.5;