title: Unable to assign a item a second one
body: <p>i have a strange behavior on assigning a item a second time.</p>
  
  <p>Starting situation: I have a jqxTree with several items like this:</p>
  
  <pre><code>- apple
  - oracle
  - microsoft
  </code></pre>
  
  <p>I drag and drop one item in another like this:</p>
  
  <pre><code>-apple
  |-microsoft
  -oracle
  </code></pre>
  
  <p>That works fine. Now I want that the item (microsoft) would be copied and the copy should be assigned to apple and the original remains in its original position.</p>
  
  <p>I have implemented the following (simple modified from the sample code ‘drag and drop’ <a href="http://www.jqwidgets.com/jquery-widgets-demo/demos/jqxtree/index.htm#demos/jqxtree/dragdrop.htm" rel="nofollow">http://www.jqwidgets.com/jquery-widgets-demo/demos/jqxtree/index.htm#demos/jqxtree/dragdrop.htm</a> ):</p>
  
  <pre><code>$('#treeA').jqxTree({ allowDrag: true, allowDrop: true, height: '300px', width: '220px', 
          dragEnd: function (item, dropItem, args, dropPosition, tree) {
              $('#treeA').jqxTree('addTo', dropItem, item, true);
              return false;
          }
      });
  </code></pre>
  
  <p>Until then it works but if i drag the microsoft item a second time, the value <code>item</code> is null.</p>
  
  <p>Any suggestions? Thanks in advance.</p>
  
  <p><strong>EDIT 1:</strong></p>
  
  <p>jsFiddle working example:</p>
  
  <p><a href="http://jsfiddle.net/mtcj7v5r/" rel="nofollow">http://jsfiddle.net/mtcj7v5r/</a></p>