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

Looping javascript array should not include zk defined function

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 7.0.6
    • 7.0.5
    • None
    • Security Level: Jimmy
    • None

      Reproducible sample:

      <zk>
      	<script type="text/javascript" defer="true"><![CDATA[
      		var arr = ['0', '1', '2'], content = '';
      		for (var i in arr) {
      			content += i + '\n';
      		}
      		zk.Widget.$('$lbl').setValue(content);
      	]]></script>
      	Should only see 0, 1, 2 below:
      	<separator />
      	<label id="lbl" multiline="true"></label>
      </zk>
      

            DevChu DevChu
            vincentjian vincentjian
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 day
                1d