From ad11b90cb442d023a240e6f8f68065ad68683638 Mon Sep 17 00:00:00 2001 From: Simone Date: Wed, 1 Mar 2017 19:12:03 +0100 Subject: [PATCH] Make status text visible again in mantis 2.2.x --- BetterStatusColors.php | 4 ++-- files/BetterStatusColors.js | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/BetterStatusColors.php b/BetterStatusColors.php index 8ceb7e2..d8dea24 100644 --- a/BetterStatusColors.php +++ b/BetterStatusColors.php @@ -32,7 +32,7 @@ function register() { $this->description = 'Make the status color more prominent'; $this->page = ''; - $this->version = '1.0.1'; + $this->version = '1.0.2'; $this->requires = array(); $this->author = 'Simone Tellini'; @@ -65,4 +65,4 @@ function hooks() { function resources() { echo ''; } -} +} \ No newline at end of file diff --git a/files/BetterStatusColors.js b/files/BetterStatusColors.js index d616230..4a0719a 100644 --- a/files/BetterStatusColors.js +++ b/files/BetterStatusColors.js @@ -13,6 +13,8 @@ jQuery( document ).ready( function() status.parentsUntil( 'tr' ).addClass( classes[ 0 ] ); status.hide(); } + + jQuery( 'td.column-status span' ).css( 'color', '#393939' ); } } ); -} ); \ No newline at end of file +} );