diff options
author | Atul Pratap Singh <atulpratapsingh05@gmail.com> | 2015-06-02 10:34:24 +0300 |
---|---|---|
committer | Atul Pratap Singh <atulpratapsingh05@gmail.com> | 2015-06-02 10:34:24 +0300 |
commit | 14f9cca19fd135028f64c2eedd38dcefa4483ef2 (patch) | |
tree | b044d5886f84f6b3e5d0419081d41005ba0ed1b8 | |
parent | 3f282edad59b91b3b68977cfc23f1a2a9cdbcada (diff) |
Fix bug#4938: on print, +Indexes link and .sticky_columns remain visible
Signed-off-by: Atul Pratap Singh <atulpratapsingh05@gmail.com>
-rw-r--r-- | js/functions.js | 1 | ||||
-rw-r--r-- | libraries/index.lib.php | 2 | ||||
-rw-r--r-- | themes/original/css/printview.css | 4 | ||||
-rw-r--r-- | themes/pmahomme/css/printview.css | 4 |
4 files changed, 6 insertions, 5 deletions
diff --git a/js/functions.js b/js/functions.js index 6ebcbee4db..dd32a167d2 100644 --- a/js/functions.js +++ b/js/functions.js @@ -3969,6 +3969,7 @@ function PMA_init_slider() } $this[visible ? 'hide' : 'show']('blind', function () { $wrapper.toggle(!visible); + $wrapper.parent().toggleClass("print_ignore", visible); PMA_set_status_label($this); }); return false; diff --git a/libraries/index.lib.php b/libraries/index.lib.php index 3be6ac6482..6b3797a310 100644 --- a/libraries/index.lib.php +++ b/libraries/index.lib.php @@ -19,7 +19,7 @@ require_once 'libraries/Index.class.php'; */ function PMA_getHtmlForDisplayIndexes() { - $html_output = '<div id="index_div" class="ajax" >'; + $html_output = '<div id="index_div" class="ajax print_ignore" >'; $html_output .= PMA_Util::getDivForSliderEffect( 'indexes', __('Indexes') diff --git a/themes/original/css/printview.css b/themes/original/css/printview.css index 4710039e0b..fe19ead2e6 100644 --- a/themes/original/css/printview.css +++ b/themes/original/css/printview.css @@ -109,7 +109,7 @@ display: none; } - .sticky_columns { + .sticky_columns tr { display: none; } @@ -137,4 +137,4 @@ background: #dfdfdf; } -}
\ No newline at end of file +} diff --git a/themes/pmahomme/css/printview.css b/themes/pmahomme/css/printview.css index 4710039e0b..fe19ead2e6 100644 --- a/themes/pmahomme/css/printview.css +++ b/themes/pmahomme/css/printview.css @@ -109,7 +109,7 @@ display: none; } - .sticky_columns { + .sticky_columns tr { display: none; } @@ -137,4 +137,4 @@ background: #dfdfdf; } -}
\ No newline at end of file +} |