Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-74703

[bmc-change-manager-imstm] Extract inline script block and event handlers in com/bmc/ims/BmcDlpBuilder/config.jelly

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Minor Minor
    • _unsorted

      Problems

      == Inline Script Block
      Line: 13
      ----
      <script type="text/javascript" >
      		var objs;
      		var stepid=${stepid};		
      		//alert(stepid);	
      		
      	</script>
      ----
      
      == Inline Event Handler
      Line: 29
      ----
      <f:select name="jclType" id="jclType-${stepid}"  onchange="populateJcl(${stepid},this);" default="crtDeltaList">
      ----
      
      == Inline Event Handler
      Line: 89
      ----
      <f:textbox id="vds-${stepid}" oninput="handleVds(this,${stepid})" style="text-transform: uppercase;"/>
      ----
      
      == Inline Event Handler
      Line: 101
      ----
      <f:select clazz="action${stepid}" name="action" value="${e.action}"   onchange="actionChanged(this,${stepid});" >
      ----
      
      == Inline Event Handler
      Line: 108
      ----
      <f:select clazz="elementType"  name="elementType" value="${e.elementType}" onchange="elementTypeChanged(this,${stepid});">
      ----
      
      == Inline Event Handler
      Line: 134
      ----
      <f:select clazz="dbres" name="dbres" value="${e.dbres}" onfocus="this.oldvalue = this.value;"   onchange="toggleOptionalOperands(this,${stepid})">
      ----
      
      == Inline Event Handler
      Line: 140
      ----
      <f:select clazz="acc" name="acc" value="${e.acc}"  onfocus="this.oldvalue = this.value;"  onchange="toggleOptionalOperands(this,${stepid})" >
      ----
      
      == Inline Event Handler
      Line: 146
      ----
      <f:select clazz="auto" name="auto" value="${e.auto}"  onfocus="this.oldvalue = this.value;"  onchange="toggleOptionalOperands(this,${stepid})" >
      ----
      
      == Inline Event Handler
      Line: 152
      ----
      <f:select clazz="rand" name="rand" value="${e.rand}"   onfocus="this.oldvalue = this.value;"  onchange="toggleOptionalOperands(this,${stepid})">
      ----
      
      == Inline Event Handler
      Line: 158
      ----
      <f:select clazz="randonly" name="randonly"  value="${e.randonly}"   onfocus="this.oldvalue = this.value;"  onchange="toggleOptionalOperands(this,${stepid})">
      ----
      
      == Inline Event Handler
      Line: 164
      ----
      <f:select clazz="rldareas" name="rldareas" value="${e.rldareas}" onfocus="this.oldvalue = this.value;"  onchange="toggleOptionalOperands(this,${stepid})"  >
      ----
      
      == Inline Event Handler
      Line: 170
      ----
      <f:select clazz="iovfext" name="iovfext" value="${e.iovfext}"   onfocus="this.oldvalue = this.value;"  onchange="toggleOptionalOperands(this,${stepid})">
      ----
      
      == Inline Event Handler
      Line: 176
      ----
      <f:select clazz="dbrelgsam" name="dbrelgsam" value="${e.dbrelgsam}"   onfocus="this.oldvalue = this.value;"  onchange="toggleOptionalOperands(this,${stepid})">
      ----
      
      == Inline Event Handler
      Line: 183
      ----
      <f:select clazz="dbcopyacb" name="dbcopyacb" value="${e.dbcopyacb}"   onfocus="this.oldvalue = this.value;"  onchange="toggleOptionalOperands(this,${stepid})">
      ----
      
      == Inline Event Handler
      Line: 198
      ----
      <f:select clazz="appres" name="appres"  value="${e.appres}" onfocus="this.oldvalue = this.value;" onchange="toggleOptionalOperands(this,${stepid})"  >
      ----
      
      == Inline Event Handler
      Line: 204
      ----
      <f:select clazz="ty" name="ty"  value="${e.ty}" onfocus="this.oldvalue = this.value;" onchange="toggleOptionalOperands(this,${stepid})"   >
      ----
      
      == Inline Event Handler
      Line: 210
      ----
      <f:select clazz="schd" name="schd"  value="${e.schd}" onfocus="this.oldvalue = this.value;" onchange="toggleOptionalOperands(this,${stepid})" >
      ----
      
      == Inline Event Handler
      Line: 216
      ----
      <f:select clazz="appfp" name="appfp"  value="${e.appfp}" onfocus="this.oldvalue = this.value;" onchange="toggleOptionalOperands(this,${stepid})" >
      ----
      
      == Inline Event Handler
      Line: 223
      ----
      <f:select clazz="dyn" name="dyn"  value="${e.dyn}" onfocus="this.oldvalue = this.value;"  onchange="toggleOptionalOperands(this,${stepid})" >
      ----
      
      == Inline Event Handler
      Line: 230
      ----
      <f:select clazz="gpsb" name="gpsb"  value="${e.gpsb}"  onfocus="this.oldvalue = this.value;" onchange="toggleOptionalOperands(this,${stepid})">
      ----
      
      == Inline Event Handler
      Line: 236
      ----
      <f:select clazz="lang" name="lang"   value="${e.lang}" onfocus="this.oldvalue = this.value;" onchange="toggleOptionalOperands(this,${stepid})" >
      ----
      
      == Inline Event Handler
      Line: 243
      ----
      <f:select clazz="apptls" name="apptls"  value="${e.apptls}" onfocus="this.oldvalue = this.value;" onchange="toggleOptionalOperands(this,${stepid})"  >
      ----
      
      == Inline Event Handler
      Line: 250
      ----
      <f:select clazz="apprelgsam" name="apprelgsam" value="${e.apprelgsam}"   onfocus="this.oldvalue = this.value;"  onchange="toggleOptionalOperands(this,${stepid})">
      ----
      
      == Inline Event Handler
      Line: 257
      ----
      <f:select clazz="appcopyacb" name="appcopyacb" value="${e.appcopyacb}"   onfocus="this.oldvalue = this.value;"  onchange="toggleOptionalOperands(this,${stepid})">
      ----
      
      == Inline Event Handler
      Line: 281
      ----
      <f:select clazz="rtcinq" name="rtcinq"  value="${e.rtcinq}" onfocus="this.oldvalue = this.value;" onchange="toggleOptionalOperands(this,${stepid})" >
      ----
      
      == Inline Event Handler
      Line: 307
      ----
      <f:select clazz="wfi" name="wfi" value="${e.wfi}" onfocus="this.oldvalue = this.value;" onchange="toggleOptionalOperands(this,${stepid})"  >
      ----
      
      == Inline Event Handler
      Line: 335
      ----
      <f:select clazz="mseg" name="mseg"  value="${e.mseg}" onfocus="this.oldvalue = this.value;" onchange="toggleOptionalOperands(this,${stepid})"  >
      ----
      
      == Inline Event Handler
      Line: 342
      ----
      <f:select clazz="resp" name="resp"  value="${e.resp}"  onfocus="this.oldvalue = this.value;" onchange="toggleOptionalOperands(this,${stepid})" >
      ----
      
      == Inline Event Handler
      Line: 384
      ----
      <f:select clazz="traninq" name="traninq"  value="${e.traninq}" onfocus="this.oldvalue = this.value;" onchange="toggleOptionalOperands(this,${stepid})"  >
      ----
      
      == Inline Event Handler
      Line: 391
      ----
      <f:select clazz="recv" name="recv" value="${e.recv}" onfocus="this.oldvalue = this.value;" onchange="toggleOptionalOperands(this,${stepid})"   >
      ----
      
      == Inline Event Handler
      Line: 398
      ----
      <f:select clazz="tranfp" name="tranfp" value="${e.tranfp}" onfocus="this.oldvalue = this.value;" onchange="toggleOptionalOperands(this,${stepid})"  >
      ----
      
      == Inline Event Handler
      Line: 405
      ----
      <f:select clazz="mper" name="mper" value="${e.mper}" onfocus="this.oldvalue = this.value;" onchange="toggleOptionalOperands(this,${stepid})"  >
      ----
      
      == Inline Event Handler
      Line: 412
      ----
      <f:select clazz="uc" name="uc" value="${e.uc}" onfocus="this.oldvalue = this.value;" onchange="toggleOptionalOperands(this,${stepid})"  >
      ----
      
      == Inline Event Handler
      Line: 433
      ----
      <f:select clazz="msc" name="msc" value="${e.msc}" onfocus="this.oldvalue = this.value;" onchange="toggleOptionalOperands(this,${stepid})"  >
      ----
      
      == Inline Event Handler
      Line: 440
      ----
      <f:select clazz="dc" name="dc" value="${e.dc}"  onfocus="this.oldvalue = this.value;" onchange="toggleOptionalOperands(this,${stepid})" >
      ----
      
      == Inline Event Handler
      Line: 447
      ----
      <f:select clazz="ser" name="ser" value="${e.ser}" onfocus="this.oldvalue = this.value;" onchange="toggleOptionalOperands(this,${stepid})"  >
      ----
      
      == Inline Event Handler
      Line: 489
      ----
      <f:select clazz="spad" name="spad" value="${e.spad}" onfocus="this.oldvalue = this.value;" onchange="toggleOptionalOperands(this,${stepid})" >
      ----
      
      == Inline Event Handler
      Line: 503
      ----
      <f:select clazz="aoi" name="aoi" value="${e.aoi}"  onfocus="this.oldvalue = this.value;" onchange="toggleOptionalOperands(this,${stepid})" >
      ----
      
      == Inline Event Handler
      Line: 510
      ----
      <f:select clazz="trantls" name="trantls"  value="${e.trantls}" onfocus="this.oldvalue = this.value;" onchange="toggleOptionalOperands(this,${stepid})"  >
      ----
      
      == Inline Event Handler
      Line: 542
      ----
      <f:select clazz="sign" name="sign" value="${e.sign}" onfocus="this.oldvalue = this.value;" onchange="toggleOptionalOperands(this,${stepid})"  >
      ----
      
      == Inline Event Handler
      Line: 582
      ----
      <f:select clazz="l61" name="l61" value="${e.l61}" onfocus="this.oldvalue = this.value;" onchange="toggleOptionalOperands(this,${stepid})"  >
      ----
      
      == Inline Event Handler
      Line: 607
      ----
      <f:select clazz="msg" name="msg"  value="${e.msg}"  onfocus="this.oldvalue = this.value;" onchange="toggleOptionalOperands(this,${stepid})" >
      ----
      
      == Inline Event Handler
      Line: 628
      ----
      <f:checkbox  id="dependent-${stepid}" onclick="toggleDependent(this,${stepid})"  />
      ----
      
      == Inline Event Handler
      Line: 632
      ----
      <f:checkbox   id="mark-${stepid}" onclick="toggleMark(this,${stepid})"  />
      ----
      
      == Inline Event Handler
      Line: 636
      ----
      <f:checkbox   id="coord-${stepid}" onclick="toggleCoord(this,${stepid})"  />
      ----
      

      Solutions

      https://www.jenkins.io/doc/developer/security/csp/#inline-javascript-blocks
      https://www.jenkins.io/doc/developer/security/csp/#inline-event-handlers

            Unassigned Unassigned
            basil Basil Crow
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: