The branch, QA_3_3 has been updated via 2ba852dc5ca3dc9d2697ee29bd11ad61ab987553 (commit) from bc0b9fa744bd1b1a7ff460f728248e581ee106f0 (commit)
- Log ----------------------------------------------------------------- commit 2ba852dc5ca3dc9d2697ee29bd11ad61ab987553 Author: Adnan hiddenpearls@gmail.com Date: Thu Dec 9 08:01:51 2010 -0500
bug #3112614 [pdf schema] Scratchboard for PDF pages not working
-----------------------------------------------------------------------
Summary of changes: ChangeLog | 1 + pdf_pages.php | 2 +- 2 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/ChangeLog b/ChangeLog index f25d225..dca7d9d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -13,6 +13,7 @@ $HeadURL: https://phpmyadmin.svn.sourceforge.net/svnroot/phpmyadmin/trunk/phpMyA - bug #1762306 [core] Copy database with view of a view - patch #3117535 [replication] Add quotes to database in initial statement, thanks to Craig Duncan - duncan3dc +- bug #3112614 [pdf schema] Scratchboard for PDF pages not working
3.3.8.1 (2010-11-29) - bug #3115519 (private) [security] XSS on db search, see PMASA-2010-8 diff --git a/pdf_pages.php b/pdf_pages.php index 4ec0601..a196b9b 100644 --- a/pdf_pages.php +++ b/pdf_pages.php @@ -351,7 +351,7 @@ foreach ($array_sh_page AS $key => $temp_sh_page) { $drag_y = $temp_sh_page['y'];
$draginit2 .= ' Drag.init(getElement("table_' . $i . '"), null, 0, parseInt(myid.style.width)-2, 0, parseInt(myid.style.height)-5);' . "\n"; - $draginit .= ' getElement("table_' . $i . '").onDrag = function (x, y) { document.edcoord.elements["c_table_' . $i . '[x]"].value = parseInt(x); document.edcoord.elements["c_table_' . $i . '[y]"].value = parseInt(y) }' . "\n"; + $draginit2 .= ' getElement("table_' . $i . '").onDrag = function (x, y) { document.edcoord.elements["c_table_' . $i . '[x]"].value = parseInt(x); document.edcoord.elements["c_table_' . $i . '[y]"].value = parseInt(y) }' . "\n"; $draginit .= ' getElement("table_' . $i . '").style.left = "' . $drag_x . 'px";' . "\n"; $draginit .= ' getElement("table_' . $i . '").style.top = "' . $drag_y . 'px";' . "\n"; $reset_draginit .= ' getElement("table_' . $i . '").style.left = "2px";' . "\n";
hooks/post-receive