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

Add a draggable item to tree will cause js error

    XMLWordPrintable

    Details

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

      Description

      <zk>
      	<button label="add item">
      		<attribute name="onClick"><![CDATA[
      			Treeitem item = new Treeitem("new");
      			item.setDraggable("true");
      			tc.appendChild(item);
      		]]></attribute>
      	</button>
      	<tree>
      		<treechildren>
      			<treeitem label="item 1" open="false">
      				<treechildren id="tc">
      				
      				</treechildren>
      			</treeitem>
      		</treechildren>
      	</tree>
      </zk>
      

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: