diff options
author | Jan-Philipp Litza <janphilipp@litza.de> | 2012-12-29 14:46:01 +0100 |
---|---|---|
committer | Jan-Philipp Litza <janphilipp@litza.de> | 2012-12-30 01:55:24 +0100 |
commit | bf226f87dcb4ab7f72cfd596cc989e95cdfa02e4 (patch) | |
tree | fc2ae86873638e544c56d4a9ea0abd493fb44182 /includes | |
parent | 38366b0285c4242132fd2ffa9dc368f4d0201de1 (diff) |
revert scrollable table because of bad browser implementation and replace by non-fixed header scrolling
Diffstat (limited to 'includes')
-rw-r--r-- | includes/pages/user_shifts.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/pages/user_shifts.php b/includes/pages/user_shifts.php index 69c6b27f..162238e6 100644 --- a/includes/pages/user_shifts.php +++ b/includes/pages/user_shifts.php @@ -409,7 +409,7 @@ function view_user_shifts() { $block[$rid][$i]++; } - $shifts_table = "<table id=\"shifts\"><thead><tr><th>-</th>"; + $shifts_table = "<table id=\"shifts\" class=\"scrollable\"><thead><tr><th>-</th>"; foreach($myrooms as $key => $room) { $rid = $room["id"]; if(array_sum($block[$rid]) == 0) { @@ -540,7 +540,7 @@ function view_user_shifts() { } $shifts_table .= "</tr>\n"; } - $shifts_table .= '</tbody></table><script type="text/javascript">scrolltable(document.getElementById("shifts"))</script>'; + $shifts_table .= '</tbody></table>'; // qqq } else { $shifts_table = array(); |