Skip to content

armgit / Vvveb

Public Imported from GitHub
0

Powerful and easy to use cms to build websites, blogs or ecommerce stores.

Fixed VvvebJs image does not change after selecting new image from media modal

givanz576a3124f902
diff --git a/public/js/vvvebjs/plugin-media.js b/public/js/vvvebjs/plugin-media.js
index fbefb91..aa566f7 100755
--- a/public/js/vvvebjs/plugin-media.js
+++ b/public/js/vvvebjs/plugin-media.js
@@ -55,7 +55,7 @@ ImageInput = { ...ImageInput, ...{
//Vvveb.MediaModal.mediaPath = window.mediaPath;
}
- Vvveb.MediaModal.open(this.closest(["data-target-input"]));
+ Vvveb.MediaModal.open(this.closest("[data-target-input]"));
},
init: function(data) {