From ee9403f7f7bbb55b7d4fa4cc77af4e5f7bd3b1eb Mon Sep 17 00:00:00 2001 From: Luiz Boaretto <32047234+luizboaretto@users.noreply.github.com> Date: Thu, 30 Nov 2017 13:49:29 -0300 Subject: [PATCH] Fix typo for wagtailsnippets JS Currently, it's not possible to select a snippet because the JS file is not loaded, resulting in the error: ReferenceError: createSnippetChooser is not defined This is due to a typo in the gulp config file. --- gulpfile.js/config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gulpfile.js/config.js b/gulpfile.js/config.js index 2c6054544..03f5d5dd6 100644 --- a/gulpfile.js/config.js +++ b/gulpfile.js/config.js @@ -27,7 +27,7 @@ var apps = [ new App('wagtail/documents', {'appName': 'wagtaildocs'}), new App('wagtail/embeds', {'appName': 'wagtailembeds'}), new App('wagtail/images', {'appName': 'wagtailimages'}), - new App('wagtail/snippets', {'appName': 'wagtailimages'}), + new App('wagtail/snippets', {'appName': 'wagtailsnippets'}), new App('wagtail/users', {'appName': 'wagtailusers'}), new App('wagtail/contrib/styleguide', {'appName': 'wagtailstyleguide'}), new App('wagtail/contrib/settings', {'appName': 'wagtailsettings'}),