mirror of
https://github.com/processwire/processwire.git
synced 2025-08-07 23:38:29 +02:00
Fix issue where Lister wasn't 100% width in AdminThemeDefault or AdminThemeReno. Note that we had to disable the resizable columns in default/reno admin themes to fix it, as the current version of jquery-tablesorter-resizable doesn't seem to allow for full width tables unless you drag it to be full width.
This commit is contained in:
@@ -1297,6 +1297,7 @@ class ProcessPageLister extends Process implements ConfigurableModule {
|
||||
$sanitizer = $this->wire()->sanitizer;
|
||||
$modules = $this->wire()->modules;
|
||||
$fields = $this->wire()->fields;
|
||||
$adminTheme = $this->wire()->adminTheme;
|
||||
|
||||
/** @var Languages $languages */
|
||||
$columns = $this->sessionGet('columns');
|
||||
@@ -1307,7 +1308,7 @@ class ProcessPageLister extends Process implements ConfigurableModule {
|
||||
/** @var MarkupAdminDataTable $table */
|
||||
$table = $modules->get('MarkupAdminDataTable');
|
||||
$table->setSortable(false);
|
||||
$table->setResizable(true);
|
||||
$table->setResizable(wireInstanceOf($adminTheme, 'AdminThemeUikit')); // non-100% width error w/default+reno themes
|
||||
$table->setResponsive($this->responsiveTable);
|
||||
$table->setClass('ProcessListerTable');
|
||||
$table->setEncodeEntities(false);
|
||||
|
Reference in New Issue
Block a user