diff options
Diffstat (limited to 'js/stories.js')
-rw-r--r-- | js/stories.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/js/stories.js b/js/stories.js index 535bb85..dcab144 100644 --- a/js/stories.js +++ b/js/stories.js @@ -29,6 +29,9 @@ function create(formName, url, modalName) { console.log(data); console.log(textStatus); $('#' + modalName).modal('hide'); + form.reset(); + // Just a work around + location.reload(); }).fail(function(jqXHR, textStatus) { if (409 == jqXHR.status) { var errorElement = $('<div id="error">').text('Ein Charakter mit diesem Namen existiert bereits'); |