diff --git a/ChangeLog b/ChangeLog index e8b1da0de..776e1fe8a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -85,6 +85,7 @@ $HeadURL: https://phpmyadmin.svn.sourceforge.net/svnroot/phpmyadmin/trunk/phpMyA + [lang] Russian update, thanks to Victor Volkov and the php-myadmin.ru users + [privileges] Support password hashing on the Edit Privileges interface - bug #1755339 Warn about rename dataase actually being copy/delete +- bug #1746921 Left frame shrinks on db change, thanks to Juergen Wind 2.10.3.0 (2007-07-20) diff --git a/js/navigation.js b/js/navigation.js index 52e29de47..44ffc44bd 100644 --- a/js/navigation.js +++ b/js/navigation.js @@ -55,11 +55,13 @@ function PMA_callFunctionDelayed(myfunction, delay) */ function PMA_saveFrameSizeReal() { - pma_navi_width = document.getElementById('body_leftFrame').offsetWidth - //alert('from DOM: ' + typeof(pma_navi_width) + ' : ' + pma_navi_width); - if (pma_navi_width > 0) { + if (parent.text_dir == 'ltr') { + pma_navi_width = parseInt(parent.document.getElementById('mainFrameset').cols) + } else { + pma_navi_width = parent.document.getElementById('mainFrameset').cols.match(/\d+$/) + } + if ((pma_navi_width > 0) && (pma_navi_width != PMA_getCookie('pma_navi_width'))) { PMA_setCookie('pma_navi_width', pma_navi_width, expires); - //alert('framesize saved'); } }