From 3457d1c21e88425ed661ee2486a5eaff7b9b2649 Mon Sep 17 00:00:00 2001 From: David Rowe Date: Thu, 31 Mar 2016 09:16:31 +1300 Subject: [PATCH] Entities list fixes - Fix report of number of entities selected if have two selected - Don't show yellow focus highlight on row when first click it --- examples/html/edit-style.css | 4 ++++ examples/html/entityList.html | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/examples/html/edit-style.css b/examples/html/edit-style.css index 6d4235091c..a8cdd45f09 100644 --- a/examples/html/edit-style.css +++ b/examples/html/edit-style.css @@ -139,6 +139,10 @@ tr:nth-child(even) { background-color: #1c1c1c; } +tr:focus { + outline: none; +} + tr.selected { color: #000000; background-color: #00b4ef; diff --git a/examples/html/entityList.html b/examples/html/entityList.html index dabfa7dbc1..2260fbdbd6 100644 --- a/examples/html/entityList.html +++ b/examples/html/entityList.html @@ -181,7 +181,7 @@ } } - if (selectedEntities.length > 2) { + if (selectedEntities.length > 1) { elFooter.firstChild.nodeValue = selectedEntities.length + " entities selected"; } else if (selectedEntities.length === 1) { elFooter.firstChild.nodeValue = "1 entity selected";