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

Append a listitem to the listbox will cause js error (Firefox 4 above only)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 5.0.9, 6.0.0
    • 5.0.8
    • Components
    • Security Level: Jimmy

       
      <zk>
      	<button label="add item">
      		<attribute name="onClick"><![CDATA[
      		Listitem item = new Listitem("item");
      		lb.appendChild(item);
      		item.setSelected(true);
      	]]></attribute>
      	</button>
      	<bandbox>
      		<bandpopup>
      			<listbox id="lb"/>
      		</bandpopup>
      	</bandbox>
      </zk>
      

            SimonPai SimonPai
            jimmyshiau jimmyshiau
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: