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

Fix images list when deleting from plupload gallery #334

Merged
merged 1 commit into from
Aug 13, 2015
Merged

Fix images list when deleting from plupload gallery #334

merged 1 commit into from
Aug 13, 2015

Conversation

pauloiankoski
Copy link
Contributor

Quando se tem 2 imagens e remove 1 delas, o código atual attachmentIds = attachmentIds + attachmentId + ','; acaba deixando no formato id_imagem_1,. Adicionei a mesma verificação de quando estamos criando a galeria, para que a primeira imagem seja adicionada à lista sem a vírgula.

claudiosanches added a commit that referenced this pull request Aug 13, 2015
Fix images list when deleting from plupload gallery
@claudiosanches claudiosanches merged commit 1f7c138 into wpbrasil:master Aug 13, 2015
@adammacias adammacias modified the milestone: v2.8.0 Aug 13, 2015
@adammacias adammacias added the bug label Aug 13, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants