title: Drag and Drop events in dnd plugin in jstree do not work
body: <p>I am using jsTree for tree representation of the Files and folders. I would like move folders from one tree to the other.</p>
  
  <p>For this reason I have enabled the drag and drop plugin (dnd).</p>
  
  <p>Unfortunately it doesn't work if i also use the "types" plugin.</p>
  
  <p>Do you have any suggestion?</p>
  
  <p>Thank you very much!</p>
  
  <p>I am posting the related code below</p>
  
  <pre><code>&lt;script&gt;
  
      function buildTrees() {
  
  
          var myTypes = {
              "mg1": {
                  "max_depth": 1,
                  "valid_children": ["ean"]
              },
              "ean": {
                  "max_depth": 0
              },
              "aaa": {
                  "max_depth": 2,
  
  
                  "valid_children": ["mg1"]
              },
              "#": {
                  "max_depth": 3,
                  "valid_children": ["aaa"]
              }
          };
  
  
      }
  
     var sourceTree = $('#sourceTree').jstree({
              "core": {"check_callback": true}, "plugins": ["search", "wholerow", "dnd",   "checkbox", "types"] , "types": myTypes
          });
  
          var targetTree = $('#targetTree').jstree({
              "core": {"check_callback": true}, "plugins": ["search", "wholerow", "dnd", "checkbox", "types"] , "types": myTypes
          });
  
  
  
      $().ready(buildTrees());
  &lt;/script&gt;
  </code></pre>