8000 Move var declaration inside closure to make it available to firefox (… · django-cms/django-cms@f252034 · GitHub
[go: up one dir, main page]

Skip to content

Commit f252034

Browse files
yakkyFinalAngel
authored andcommitted
Move var declaration inside closure to make it available to firefox (#6854)
# Conflicts: # CHANGELOG.rst
1 parent 6f0a40d commit f252034

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

CHANGELOG.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Changelog
66
3.7.3 (unreleased)
77
==================
88

9-
* ...
9+
* Fixed apphooks config select in Firefox
1010

1111

1212
3.7.2 (2020-04-22)

cms/static/cms/js/widgets/forms.apphookselect.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ __webpack_public_path__ = require('../modules/get-dist-path')('bundle.forms.apph
1111
// APP HOOK SELECT
1212
require.ensure([], function (require) {
1313
var $ = require('jquery');
14-
var apphooks_configuration = window.apphooks_configuration || {};
1514

1615
// shorthand for jQuery(document).ready();
1716
$(function () {
17+
var apphooks_configuration = window.apphooks_configuration || {};
1818
var appHooks = $('#application_urls, #id_application_urls');
1919
var selected = appHooks.find('option:selected');
2020
var appNsRow = $('.form-row.application_namespace, .form-row.field-application_namespace');

0 commit comments

Comments
 (0)
0