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

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Normal
    • 5.0.9, 6.0.0
    • Affects Version/s: 5.0.8
    • Component/s: Components
    • Security Level: Jimmy
    • None

       
      <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>
      

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

              Created:
              Updated:
              Resolved: