8000 fix: remove trailing comma · django-cms/django-cms@17445a7 · GitHub
[go: up one dir, main page]

Skip to content

Commit 17445a7

Browse files
author
Fabs
committed
fix: remove trailing comma
1 parent 8f3961a commit 17445a7

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

cms/static/cms/js/modules/cms.plugins.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -572,7 +572,7 @@ var Plugin = new Class({
572572
modal.open({
573573
url: url,
574574
title: name,
575-
breadcrumbs: breadcrumb,
575+
breadcrumbs: breadcrumb
576576
});
577577
},
578578

cms/tests/frontend/unit/cms.plugins.test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -661,7 +661,7 @@ describe('CMS.Plugin', function() {
661661
expect(FakeModal.prototype.open).toHaveBeenCalledWith({
662662
url: '/edit-url',
663663
title: 'Test Plugin',
664-
breadcrumbs: 'breadcrumb',
664+
breadcrumbs: 'breadcrumb'
665665
});
666666
});
667667

@@ -670,7 +670,7 @@ describe('CMS.Plugin', function() {
670670
expect(FakeModal.prototype.open).toHaveBeenCalledWith({
671671
url: '/edit-plugin-url',
672672
title: 'Random Plugin',
673-
breadcrumbs: ['breadcrumb'],
673+
breadcrumbs: ['breadcrumb']
674674
});
675675
});
676676
it('adds events to remove the "add plugin" placeholder', function() {

0 commit comments

Comments
 (0)
0