Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Doesn't work after closing the modal once #3

Closed
debprado opened this Issue · 2 comments

2 participants

debprado ramblex
debprado

Hi,

Thank you for putting this together.

I noticed that it won't work properly if you try to create an article after closing the modal once.

For example, when I do the following:

Click "New Article"
Close the modal form
Click "New Article" again
Fill out the form and Save

The article is created but the modal is still on the page.

Also, when I try:

Click "New Article"
Close the modal form
Click "New Article" again
Try to Save a blank form

The error messages are not displayed.

ps: Happy New Year :)

debprado

I added

close: function() {
$('#dialog-form').remove();
}

To the options and it works

ramblex
Owner

Excellent, thanks for finding the answer to this. I've updated application.js.

ramblex ramblex closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.