mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-16 22:42:16 +00:00
sets the height of the adminZeitverfuegbarkeit to 50% of the screen ehight
This commit is contained in:
@@ -40,6 +40,7 @@ $filterWidgetArray = array(
|
||||
ucfirst($this->p->t('global', 'notiz'))
|
||||
),
|
||||
'datasetRepOptions' => '{
|
||||
height: func_height(this),
|
||||
layout: "fitColumns", // fit columns to width of table
|
||||
autoResize: false, // prevent auto resizing of table (false to allow adapting table size when cols are (de-)activated
|
||||
index: "zeitsperre_id", // assign specific column as unique id (important for row indexing)
|
||||
|
||||
@@ -1,3 +1,9 @@
|
||||
|
||||
// Returns relative height (depending on screen size)
|
||||
function func_height(table) {
|
||||
return $(window).height() * 0.5;
|
||||
}
|
||||
|
||||
$(function(){
|
||||
|
||||
// tableInit is called in the jquery_wrapper when the tableBuilt event was finished
|
||||
|
||||
Reference in New Issue
Block a user