From 7abfe41ab792e93b94e186f9ece4a5fd3b58a3e4 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak <alec@alec.pl> Date: Sun, 24 Apr 2016 05:12:38 -0400 Subject: [PATCH] Fix bug where getting HTML editor content could steal focus from other form controls (#5223) --- program/js/list.js | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/program/js/list.js b/program/js/list.js index cc9de0a..99fd48f 100644 --- a/program/js/list.js +++ b/program/js/list.js @@ -1108,7 +1108,7 @@ { for (var n in this.selection) if (this.selection[n] == id) - return index ? n : true; + return index ? parseInt(n) : true; return false; }, -- Gitblit v1.9.1