Not loaded next preloader and image after insert image in dynamic form item. Correct load image in case I didn't load image yet. In case I load image, next preloader not load in next dynamicform item and I don't save next images
Asked
Active
Viewed 509 times
-1

Anton
- 27
- 5
-
add your code for better understanding – Abdul Jun 23 '17 at 09:21
1 Answers
0
found one of solution, may be not better, but nearly normal state. Problem was here
identifiers[i] = $elem.closest(widgetsOptions[i].widgetItem).index();
if replace this by this:
if(typeof widgetsOptions[i] !== 'undefined'){
identifiers[i] = $elem.closest(widgetsOptions[i].widgetItem).index(); }
problem was resolved, but not perfectly. After Add new item, preload image loaded correct and I could upload image, but load first item which was has loaded earlier.

Anton
- 27
- 5