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

Destroy multiImageSelectors before instantiating new ones #1728

Merged
merged 1 commit into from
Feb 8, 2017

Conversation

jkeck
Copy link
Contributor

@jkeck jkeck commented Feb 7, 2017

Fixes #1724

function destroyExistingImageSelector() {
var pagination = $('[data-panel-image-pagination]', panel);
pagination.html('');
pagination.next('.' + thumbsListContainer.attr('class')).remove();

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mixed double and single quotes.

@@ -27,6 +29,12 @@
addChangeLinkBehavior();
}

function destroyExistingImageSelector() {
var pagination = $('[data-panel-image-pagination]', panel);
pagination.html('');

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mixed double and single quotes.

@@ -27,6 +29,12 @@
addChangeLinkBehavior();
}

function destroyExistingImageSelector() {
var pagination = $('[data-panel-image-pagination]', panel);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mixed double and single quotes.

@jkeck jkeck force-pushed the 1724-drop-image-selector-on-new-selection branch from 5ba65b5 to eb9c343 Compare February 7, 2017 23:49
@cbeer cbeer merged commit 8fd20f1 into master Feb 8, 2017
@cbeer cbeer deleted the 1724-drop-image-selector-on-new-selection branch February 8, 2017 00:08
@cbeer cbeer removed the in progress label Feb 8, 2017
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

Successfully merging this pull request may close these issues.

3 participants