Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uncaught TypeError: Cannot read property 'apply' of undefined #44

Open
sarvap-praharanayuthan opened this issue Aug 8, 2017 · 1 comment

Comments

@sarvap-praharanayuthan
Copy link

sarvap-praharanayuthan commented Aug 8, 2017

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

@MaTToX3
Copy link

MaTToX3 commented Feb 10, 2018

Any fix for that?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants