@innovastudio/contentbox 1.5.80 → 1.5.81

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@innovastudio/contentbox",
3
3
  "type": "module",
4
- "version": "1.5.80",
4
+ "version": "1.5.81",
5
5
  "description": "",
6
6
  "main": "public/contentbox/contentbox.esm.js",
7
7
  "files": [
@@ -51,7 +51,7 @@
51
51
  "ws": "^8.13.0"
52
52
  },
53
53
  "dependencies": {
54
- "@innovastudio/contentbuilder": "^1.4.101",
54
+ "@innovastudio/contentbuilder": "^1.4.102",
55
55
  "js-beautify": "^1.14.0"
56
56
  }
57
57
  }
@@ -96018,7 +96018,7 @@ class ContentBuilder {
96018
96018
  Array.prototype.forEach.call(forms, formUpload => {
96019
96019
  if (this.dom.hasClass(formUpload, 'please-wait')) {
96020
96020
  this.dom.removeClass(formUpload, 'please-wait');
96021
- formUpload.parentNode.parentNode.querySelector('input[type="text"]').value = s;
96021
+ if (s) formUpload.parentNode.parentNode.querySelector('input[type="text"]').value = s;
96022
96022
  formUpload.parentNode.parentNode.querySelector('input[type="file"]').value = '';
96023
96023
  }
96024
96024
  });