diff options
Diffstat (limited to 'lib/new-story-dialog.inc.php')
-rw-r--r-- | lib/new-story-dialog.inc.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/new-story-dialog.inc.php b/lib/new-story-dialog.inc.php index ee55e4b..73c6abf 100644 --- a/lib/new-story-dialog.inc.php +++ b/lib/new-story-dialog.inc.php @@ -36,3 +36,9 @@ </div> </div> </div> + <script> + $('#create-story-form').submit(function(event) { + createNewStory(); + event.preventDefault(); + }); + </script> |