AnsweredAssumed Answered

Subpanel select-button disabled

Question asked by Bernhard Leitgeb on Jan 30, 2018

Hello dear community!

 

In my Contacts subpanel the link-action/select- button is disabled and I can't enable it again:

 

This subpanel is located in the Accounts module. I tried to extend the Contacts panel-top:

 

custom/Extension/modules/Contacts/Ext/clients/base/views/panel-top/panel-top.php

 

<?php

$viewdefs['Contacts']['base']['view']['panel-top']['buttons'] = array(
    array(
        'type' => 'button',
        'css_class' => 'btn-invisible',
        'tooltip' => 'LBL_TOGGLE_VISIBILITY',
    ),
    array(
        'type' => 'actiondropdown',
        'name' => 'panel_dropdown',
        'css_class' => 'pull-right',
        'buttons' => array(
            array(
                'type' => 'sticky-rowaction',
                'icon' => 'fa-plus',
                'name' => 'create_button',
                'label' => ' ',
                'acl_action' => 'create',
                'tooltip' => 'LBL_CREATE_BUTTON_LABEL',
            ),
            array(
                'type' => 'link-action',
                'name' => 'select_button',
                'label' => 'LBL_ASSOC_RELATED_RECORD',
            ),
        ),
    ),
);

 

In the last array(link-action/select button) I tried to manipulate the css_class but nothing worked.

 

In the browser however I found a disabled parameter:

 

Is there another way to enable this button again?

 

Thank you very much!

Outcomes