title: Drag and Drop events in dnd plugin in jstree are not getting called
body: <p>We are using jsTree for tree representation of the Files and folders. Files and folders can be moved in and out from other folders. </p>
  
  <p>For this I have enabled the drag and drop plugin. The folders and files can be dragged and dropped but the events which are called on drag and drop are not getting called. </p>
  
  <p>I need these events to fire on drag and drop as I need to update the status of the drag and drop in the backend using Ajax.</p>
  
  <p>Please help </p>
  
  <p>Below is the code.</p>
  
  <pre><code>&lt;script type="text/javascript" class="source"&gt;
  
  $(function() {
  
          $("#folderTree").jstree( {
          "dnd" : {
              "drop_finish" : function () { 
                  alert("DROP"); 
              },
              "drag_check" : function (data) {
                  if(data.r.attr("id") == "phtml_1") {
                      return false;
                  }
                  return { 
                      after : false, 
                      before : false, 
                      inside : true 
                  };
  
                  alert("hhh jjj kk ");
              },
              "drag_finish" : function () { 
                  alert("DRAG OK"); 
              }
          },
  
          "plugins" : [ "core", "html_data", "themes", "ui","dnd"],
  
          "ui" : {
              "initially_select" : [ "phtml_1" ]
          },
  
          "core" : { "initially_open" : [ "phtml_1" ] },
  
          "themes" : {
                  "theme" : "apple"
          },
  
          "types" : {
              "valid_children" : [ "root" ],
              "types" : {
                  "root" : {
                      "icon" : { 
                          "image" : "../images/drive.png" 
                      },
                      "valid_children" : [ "folder" ],
                      "draggable" : false
                  },
                  "default" : {
                      "deletable" : false,
                      "renameable" : false
                  },
  
                  "folder" : {
                      "valid_children" : [ "file" ],
                      "max_children" : 3
                  },
                  "file" : {
                      // the following three rules basically do the same
                      "valid_children" : "none",
                      "max_children" : 0,
                      "max_depth" : 0,
                      "icon" : {
                          "image" : "../images/file.png"
                      }
                  }
  
              }
          }
  
  
  
      });
  });
  </code></pre>
  
  <p></p>
  
  <p>Am I missing anything or is there anything else I need to do in order for the drag and drop events to get called?</p>