@@ -62,15 +62,15 @@ define([
6262 $ ( document ) . off ( 'click' , this . wrapSelector ( '.vp-rs-df-refresh' ) ) ;
6363 $ ( document ) . off ( 'change' , this . wrapSelector ( '#vp_rsType' ) ) ;
6464 $ ( document ) . off ( 'change' , this . wrapSelector ( '#vp_rsIndex' ) ) ;
65- $ ( document ) . off ( 'click' , this . wrapSelector ( '#vp_rsIndexSelect ' ) ) ;
65+ $ ( document ) . off ( 'click' , this . wrapSelector ( '#vp_rsIndex ' ) ) ;
6666 $ ( document ) . off ( 'change' , this . wrapSelector ( '#vp_rsColumns' ) ) ;
67- $ ( document ) . off ( 'click' , this . wrapSelector ( '#vp_rsColumnsSelect ' ) ) ;
67+ $ ( document ) . off ( 'click' , this . wrapSelector ( '#vp_rsColumns ' ) ) ;
6868 $ ( document ) . off ( 'change' , this . wrapSelector ( '#vp_rsValues' ) ) ;
69- $ ( document ) . off ( 'click' , this . wrapSelector ( '#vp_rsValuesSelect ' ) ) ;
69+ $ ( document ) . off ( 'click' , this . wrapSelector ( '#vp_rsValues ' ) ) ;
7070 $ ( document ) . off ( 'change' , this . wrapSelector ( '#vp_rsIdVars' ) ) ;
71- $ ( document ) . off ( 'click' , this . wrapSelector ( '#vp_rsIdVarsSelect ' ) ) ;
71+ $ ( document ) . off ( 'click' , this . wrapSelector ( '#vp_rsIdVars ' ) ) ;
7272 $ ( document ) . off ( 'change' , this . wrapSelector ( '#vp_rsValueVars' ) ) ;
73- $ ( document ) . off ( 'click' , this . wrapSelector ( '#vp_rsValueVarsSelect ' ) ) ;
73+ $ ( document ) . off ( 'click' , this . wrapSelector ( '#vp_rsValueVars ' ) ) ;
7474 $ ( document ) . off ( 'change' , this . wrapSelector ( '#vp_rsUserOption' ) ) ;
7575 $ ( document ) . off ( 'change' , this . wrapSelector ( '#vp_rsAllocateTo' ) ) ;
7676 $ ( document ) . off ( 'change' , this . wrapSelector ( '#vp_rsResetIndex' ) ) ;
@@ -135,7 +135,7 @@ define([
135135 } ) ;
136136
137137 // index select button event
138- $ ( document ) . on ( 'click' , this . wrapSelector ( '#vp_rsIndexSelect ' ) , function ( ) {
138+ $ ( document ) . on ( 'click' , this . wrapSelector ( '#vp_rsIndex ' ) , function ( ) {
139139 var targetVariable = [ that . state . variable ] ;
140140 var excludeList = [ ...that . state . pivot . columns , ...that . state . pivot . values ] . map ( obj => obj . code ) ;
141141 that . openColumnSelector ( targetVariable , $ ( that . wrapSelector ( '#vp_rsIndex' ) ) , 'Select columns' , excludeList ) ;
@@ -148,7 +148,7 @@ define([
148148 } ) ;
149149
150150 // columns select button event
151- $ ( document ) . on ( 'click' , this . wrapSelector ( '#vp_rsColumnsSelect ' ) , function ( ) {
151+ $ ( document ) . on ( 'click' , this . wrapSelector ( '#vp_rsColumns ' ) , function ( ) {
152152 var targetVariable = [ that . state . variable ] ;
153153 var excludeList = [ ...that . state . pivot . index , ...that . state . pivot . values ] . map ( obj => obj . code ) ;
154154 that . openColumnSelector ( targetVariable , $ ( that . wrapSelector ( '#vp_rsColumns' ) ) , 'Select columns' , excludeList ) ;
@@ -161,7 +161,7 @@ define([
161161 } ) ;
162162
163163 // values select button event
164- $ ( document ) . on ( 'click' , this . wrapSelector ( '#vp_rsValuesSelect ' ) , function ( ) {
164+ $ ( document ) . on ( 'click' , this . wrapSelector ( '#vp_rsValues ' ) , function ( ) {
165165 var targetVariable = [ that . state . variable ] ;
166166 var excludeList = [ ...that . state . pivot . index , ...that . state . pivot . columns ] . map ( obj => obj . code ) ;
167167 that . openColumnSelector ( targetVariable , $ ( that . wrapSelector ( '#vp_rsValues' ) ) , 'Select columns' , excludeList ) ;
@@ -174,7 +174,7 @@ define([
174174 } ) ;
175175
176176 // id vars select button event
177- $ ( document ) . on ( 'click' , this . wrapSelector ( '#vp_rsIdVarsSelect ' ) , function ( ) {
177+ $ ( document ) . on ( 'click' , this . wrapSelector ( '#vp_rsIdVars ' ) , function ( ) {
178178 var targetVariable = [ that . state . variable ] ;
179179 var excludeList = that . state . melt . valueVars . map ( obj => obj . code ) ;
180180 that . openColumnSelector ( targetVariable , $ ( that . wrapSelector ( '#vp_rsIdVars' ) ) , 'Select columns' , excludeList ) ;
@@ -187,7 +187,7 @@ define([
187187 } ) ;
188188
189189 // value vars select button event
190- $ ( document ) . on ( 'click' , this . wrapSelector ( '#vp_rsValueVarsSelect ' ) , function ( ) {
190+ $ ( document ) . on ( 'click' , this . wrapSelector ( '#vp_rsValueVars ' ) , function ( ) {
191191 var targetVariable = [ that . state . variable ] ;
192192 var excludeList = that . state . melt . idVars . map ( obj => obj . code ) ;
193193 that . openColumnSelector ( targetVariable , $ ( that . wrapSelector ( '#vp_rsValueVars' ) ) , 'Select columns' , excludeList ) ;
0 commit comments