• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

divio / django-cms / #28319

10 Jan 2024 10:43AM UTC coverage: 76.775%. Remained the same
#28319

push

travis-ci

web-flow
Merge branch 'develop-4' into remove-delete-page-from-toolbar

1042 of 1539 branches covered (0.0%)

2519 of 3281 relevant lines covered (76.78%)

32.53 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

50.0
/cms/static/cms/js/modules/shortcuts/toolbar.js
1
import keyboard from '../keyboard';
2
import $ from 'jquery';
3

4
// eslint-disable-next-line require-jsdoc
5
export default function () {
6
    var data = CMS.config.lang.shortcutAreas[0].shortcuts.toolbar;
1✔
7

8
    keyboard.setContext('cms');
1✔
9
    keyboard.bind(data.shortcut.split(' / '), function () {
1✔
10
        if (CMS.settings.toolbar === 'expanded') {
×
11
            $('.cms-toolbar-item-navigation:first a:first').focus();
×
12
        } else {
13
            $('.cms-toolbar-trigger a').focus();
×
14
        }
15
    });
16
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc