From 3e1087a7fa1b2ee32ce7b9fc8d8f289f2fd7d2fa Mon Sep 17 00:00:00 2001 From: Johannes Geppert Date: Tue, 4 Aug 2015 22:02:24 +0200 Subject: [PATCH] WW-4532 Javascript generated by s:doubleselect has global variables that can interfer with the rest of the app - Fix problem with missing var for loop variable and possible mixed scope --- core/src/main/resources/template/simple/debug.ftl | 6 +++--- .../resources/template/simple/doubleselect.ftl | 15 ++++++--------- .../struts2/views/jsp/ui/DoubleSelect-1.txt | 9 +++++---- .../struts2/views/jsp/ui/DoubleSelect-2.txt | 9 +++++---- .../struts2/views/jsp/ui/DoubleSelect-3.txt | 9 +++++---- .../struts2/views/jsp/ui/DoubleSelect-4.txt | 9 +++++---- 6 files changed, 29 insertions(+), 28 deletions(-) diff --git a/core/src/main/resources/template/simple/debug.ftl b/core/src/main/resources/template/simple/debug.ftl index da40aeb12..492ee766a 100644 --- a/core/src/main/resources/template/simple/debug.ftl +++ b/core/src/main/resources/template/simple/debug.ftl @@ -42,12 +42,12 @@ table.debugTable th, table.debugTable td {padding:2px;} --> -

+
${parameters.id?html}<#else>debug');return false;">[Debug]