- bug #1746921 Left frame shrinks on db change, thanks to Juergen Wind

This commit is contained in:
Marc Delisle
2007-07-22 16:31:41 +00:00
parent 17c81f3f97
commit f9ce914891
2 changed files with 7 additions and 4 deletions

View File

@@ -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 + [lang] Russian update, thanks to Victor Volkov and the php-myadmin.ru users
+ [privileges] Support password hashing on the Edit Privileges interface + [privileges] Support password hashing on the Edit Privileges interface
- bug #1755339 Warn about rename dataase actually being copy/delete - 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) 2.10.3.0 (2007-07-20)

View File

@@ -55,11 +55,13 @@ function PMA_callFunctionDelayed(myfunction, delay)
*/ */
function PMA_saveFrameSizeReal() function PMA_saveFrameSizeReal()
{ {
pma_navi_width = document.getElementById('body_leftFrame').offsetWidth if (parent.text_dir == 'ltr') {
//alert('from DOM: ' + typeof(pma_navi_width) + ' : ' + pma_navi_width); pma_navi_width = parseInt(parent.document.getElementById('mainFrameset').cols)
if (pma_navi_width > 0) { } 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); PMA_setCookie('pma_navi_width', pma_navi_width, expires);
//alert('framesize saved');
} }
} }