Image-Select icon indicating copy to clipboard operation
Image-Select copied to clipboard

Uncaught TypeError: Cannot read property 'apply' of undefined

Open sarvap-praharanayuthan opened this issue 7 years ago • 1 comments

Used along with Blueimp/Fileupload.

Code:

callbacks: {
     ajaxContentAdded:function () {
          setTimeout(function () {
               imageDropdown();
          },500);
     }
}

function imageDropdown() {
    $(".imagesListDropdown").chosen();
}

HTML part:

<select id="cover" class="imagesListDropdown form-control" required name="cover">
// populated with PHP from DB array
<?php echo "<option value='{$row['id']}' data-img-src='{$path}'>{$row['title']}</option>"; ?>
</select>

Resources loaded: jQuery 2.1.0, Bootstrap 3.3.7.

screenshot 60

sarvap-praharanayuthan avatar Aug 08 '17 16:08 sarvap-praharanayuthan

Any fix for that?

MaTToX3 avatar Feb 10 '18 10:02 MaTToX3