Uploaded image for project: 'ZK'
  1. ZK
  2. ZK-1837

Checking the checkbox inside the groupbox should not trigger the onOpen event of Groupbox

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 6.5.3
    • Fix Version/s: 6.5.4
    • Component/s: Components
    • Labels:
      None

      Description

      For example,

      <zk>
      <groupbox id="guarantorInfogb" mold="3d" open="true"  height="25px">
          <attribute name="onOpen"><![CDATA[
      alert("If you can see this, that is a bug!");
          ]]></attribute>
              <caption  label="Please check the checkbox, and nothing happen is correct!">
                  <hbox>
                      <checkbox onCheck=""/> 
                  </hbox>
              </caption>
      </groupbox>
      </zk>
      

      The workaround is to stop the event.
      For example,

      <checkbox xmlns:w="client" id="sameAsPatientCb" onCheck="">
      	<attribute w:name="doClick_">
      	function (evt) {
              	evt.stop({propagation: true});
                      this.$doClick_.apply(this, arguments);
              }
            	</attribute>
      </checkbox> 
      

        Activity

        Hide
        jumperchen jumperchen added a comment -

        Bug fixed since 7/03/2013

        Show
        jumperchen jumperchen added a comment - Bug fixed since 7/03/2013

          People

          • Assignee:
            jumperchen jumperchen
            Reporter:
            jumperchen jumperchen
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: