Make the popup from images disappear after you click on image
F
Fábio Magalhães
started a topic
over 7 years ago
Hello, i wanted to know how does the popup of image upload or gallery hides when you click on a image, (like on the ui/layout composer), because right now when i click on a image it just stays in front of the product. I would like to know the method to make the popup disappear after you choose a image.
Best regards
Best Answer
F
Fábio Magalhães
said
over 7 years ago
For everyone that needs add this line to your index.php on the java script part:
I tried this but I get this error no matter where I put the code
Parse error: syntax error, unexpected '(', expecting variable (T_VARIABLE) or '$' in /home/XXXXXXXX/public_html/xxxxxxxxxxxxxxx.com/index.php on line 17
F
Fábio Magalhães
said
over 7 years ago
Answer
For everyone that needs add this line to your index.php on the java script part:
Fábio Magalhães
Hello, i wanted to know how does the popup of image upload or gallery hides when you click on a image, (like on the ui/layout composer), because right now when i click on a image it just stays in front of the product. I would like to know the method to make the popup disappear after you choose a image.
Best regards
For everyone that needs add this line to your index.php on the java script part:
yourDesigner.$container.on('elementAdd', function() {
$('div.fpd-close-dialog span.fpd-icon-close').trigger('click');
- Oldest First
- Popular
- Newest First
Sorted by Newest FirstVic
I tried this but I get this error no matter where I put the code
Parse error: syntax error, unexpected '(', expecting variable (T_VARIABLE) or '$' in /home/XXXXXXXX/public_html/xxxxxxxxxxxxxxx.com/index.php on line 17
Fábio Magalhães
For everyone that needs add this line to your index.php on the java script part:
yourDesigner.$container.on('elementAdd', function() {
$('div.fpd-close-dialog span.fpd-icon-close').trigger('click');
-
Adding Fancy Products to Categories
-
Shortcode for specfic product designer
-
What theme is recommended to use with FPD ?
-
Exclude Image from export
-
Google Font Family adds extras
-
Floating Dialog box
-
Uploadzone not working
-
Image transparency like in T-shirt demo
-
How do I get clipart
-
What does the LOAD button do / what is it for?
See all 2205 topics