[Phpmyadmin-devel] Remember the last way user sorted tables

Aris Feryanto aris_feryanto at yahoo.com
Wed May 25 04:11:53 CEST 2011


Hi,

On 25 Mei 2011, at 09:02, Aris Feryanto <aris_feryanto at yahoo.com> wrote:

> 
> On 24 Mei 2011, at 23:48, Tyron Madlener <tyronx at gmail.com> wrote:
> 
>> 
>> There is a bug in commit 8f2a040f41f2cd03e359bcadeb8d9f24c23290fa
>> (which seems related to the discussed table list here).
>> 
>> This added lines of js code in function.js throw "Uncaught TypeError:
>> Cannot call method 'PMA_reloadRecentTable' of undefined" when you open
>> a page in a new tab since there is no window.parent
> 
> Thanks, Tyron. I'll fix this in next commit. :)

Fixed in commit e98446c6c9f1098e7ffc147426dcb4bea0ac5b87 in my git repository [0].

> 
>> 
>> +        $('#update_recent_tables').ready(function() {
>> +            window.parent.frame_navigation.PMA_reloadRecentTable();
>> +        });
>> 
> 


--
Aris Feryanto
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.phpmyadmin.net/pipermail/developers/attachments/20110524/eee2d769/attachment.html>


More information about the Developers mailing list