mirror of
https://github.com/Sarjuuk/aowow.git
synced 2025-11-29 15:58:16 +08:00
Listview/Conditions
* make column width flex
This commit is contained in:
1
setup/sql/updates/1763555620_01.sql
Normal file
1
setup/sql/updates/1763555620_01.sql
Normal file
@@ -0,0 +1 @@
|
|||||||
|
UPDATE `aowow_dbversion` SET `build` = CONCAT(IFNULL(`build`, ''), ' globaljs');
|
||||||
@@ -2945,7 +2945,6 @@ Listview.extraCols = {
|
|||||||
id: 'condition',
|
id: 'condition',
|
||||||
name: LANG.tab_conditions,
|
name: LANG.tab_conditions,
|
||||||
type: 'text',
|
type: 'text',
|
||||||
width: '25%',
|
|
||||||
compute: function(row, td)
|
compute: function(row, td)
|
||||||
{
|
{
|
||||||
if (!row.condition)
|
if (!row.condition)
|
||||||
@@ -2954,6 +2953,7 @@ Listview.extraCols = {
|
|||||||
td.className = 'small';
|
td.className = 'small';
|
||||||
td.style.lineHeight = '18px';
|
td.style.lineHeight = '18px';
|
||||||
td.style.textAlign = 'left';
|
td.style.textAlign = 'left';
|
||||||
|
td.style.whiteSpace = 'nowrap';
|
||||||
|
|
||||||
// tiny links are hard to hit, hmkey?
|
// tiny links are hard to hit, hmkey?
|
||||||
td.onclick = (e) => $WH.sp(e);
|
td.onclick = (e) => $WH.sp(e);
|
||||||
|
|||||||
Reference in New Issue
Block a user