Roo/dd/DropTarget.js
authorAlan Knowles <alan@akbkhome.com>
Mon, 17 Jan 2011 02:40:11 +0000 (10:40 +0800)
committerAlan Knowles <alan@akbkhome.com>
Mon, 17 Jan 2011 02:40:11 +0000 (10:40 +0800)
Roo/dd/DropTarget.js

index b2f1699..abcc3ec 100644 (file)
@@ -183,7 +183,6 @@ Roo.extend(Roo.dd.DropTarget, Roo.dd.DDTarget, {
     notifyDrop : function(dd, e, data){
         this.success = false;
         this.fireEvent('drop', this, dd, e, data);
-        return typeof(this.valid) == 'string' ? this.valid=='ok' :  this.valid;
-        );
+        return this.success;
     }
 });
\ No newline at end of file