[Phpmyadmin-devel] Auto-expand navigation tree

Rouslan Placella rouslan at placella.com
Wed Aug 7 00:35:57 CEST 2013


On 08/06/2013 10:10 PM, J. M. wrote:
> https://sourceforge.net/p/phpmyadmin/discussion/Hilfe/thread/cac7953a/
>  
> Somebody on the German Help forum wants to know:
>  
>> by default, I call PMA 4.05 with: /phpmyadmin/db_structure.php?db=xyz
>>
>> How can I automatically expand the table tree in the left column?
>> I always have to click the tiny small [+] sign to view the tables.

Can't think of anything other than a hack:

AJAX.registerOnload('functions.js', function () {
    $('#pma_navigation_tree')
        .find('> div > ul > li > div > .expander')
        .click();
});

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: OpenPGP digital signature
URL: <http://lists.phpmyadmin.net/pipermail/developers/attachments/20130806/0a1d782e/attachment.sig>


More information about the Developers mailing list