Deleting an image from Multiple Media Field does not work correctly
-
Hello,
Deleting an image from
Multiple Media Field
does not work correctly:- it eliminates necessary element and all elements after necessary (JS function
splice
must take second parameterdeleteCount
=1
) - if there are few
Multiple Media Fields
on the page – it eliminates necessary image from allMultiple Media Fields
where it exists - if there are few
Multiple Media Fields
on the page – it eliminates last element from all Fields because JS functionindexOf
returns-1
if element does not exist in array and JS functionsplice
will eliminate last element from array
- it eliminates necessary element and all elements after necessary (JS function
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Deleting an image from Multiple Media Field does not work correctly’ is closed to new replies.