Plugin Directory

Changeset 3105623

Timestamp:
06/21/2024 10:59:49 AM (7 weeks ago)
Author:
whiteshadow
Message:

Minor: Remove some unused params and variables

File:
1 edited

Legend:

Unmodified
Added
Removed
  • admin-menu-editor/trunk/js/menu-editor.js

    r3105619 r3105623  
    411411        this.usesSubmenuContainers = (this.level > 1);
    412412
    413         let isNewContainer = false;
    414413        if ((typeof container === 'undefined') || (container === null)) {
    415             isNewContainer = true;
    416414            container = $('#ame-submenu-column-template').first().clone();
    417415            container.attr('id', '');
     
    45384536    menuEditorNode.on(
    45394537        'adminMenuEditor:action-toggle-all',
    4540         /**
    4541          * @param event
    4542          */
    4543         function(event) {
     4538        function() {
    45444539            if ( actorSelectorWidget.selectedActor === null ) {
    45454540                alert("This button enables/disables all menus for the selected role. To use it, click a role and then click this button again.");
     
    45734568    menuEditorNode.on(
    45744569        'adminMenuEditor:action-copy-permissions',
    4575         /**
    4576          * @param event
    4577          * @param {JQuery|null} selectedItem
    4578          * @param {AmeEditorColumn} column
    4579          */
    4580         function(event, selectedItem, column) {
     4570        function() {
    45814571            const previousSource = sourceActorList.val();
    45824572
     
    47504740    menuEditorNode.on(
    47514741        'adminMenuEditor:action-toggle-toolbar',
    4752         /**
    4753          * @param event
    4754          */
    4755         function(event) {
     4742        function() {
    47564743            let visible = menuEditorNode.find('.ws_second_toolbar_row').toggle().is(':visible');
    47574744            if (typeof $['cookie'] !== 'undefined') {
     
    56635650
    56645651        var selectedOption = testMenuItemList.find('option:selected').first(),
    5665             selectedMenu = selectedOption.data('menu_item'),
    5666             menuUrl = selectedOption.val();
     5652            selectedMenu = selectedOption.data('menu_item');
    56675653
    56685654        $.ajax(
Note: See TracChangeset for help on using the changeset viewer.