diff options
author | luxagraf <sng@luxagraf.net> | 2020-11-11 23:11:08 -0500 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2020-11-11 23:11:08 -0500 |
commit | f9c0172b3a79059116696577a7c2fe47f922ce27 (patch) | |
tree | 14bf8ee268eac7f7da7cc8bea2bda2956ae6c74f /app | |
parent | 58d5653f381e293addc330bb64337371b4e61e8a (diff) |
fixed naming bug in js for product image insert
Diffstat (limited to 'app')
-rw-r--r-- | app/products/static/product-loader.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/products/static/product-loader.js b/app/products/static/product-loader.js index 5e9d89c..9c163b8 100644 --- a/app/products/static/product-loader.js +++ b/app/products/static/product-loader.js @@ -1,5 +1,5 @@ function add_products(){ - var el = document.getElementById("id_frame"); + var el = document.getElementById("images_id"); if (el){ var iframe = '<iframe frameborder="0" style="border: #dddddd 1px solid;margin-left: 20px;width:330px; height:720px;" src="/luxproduct/insert/?textarea='+el.id+'"></iframe>'; el.insertAdjacentHTML('afterend', iframe); |