[Firefox] Invoke preventDefault on drop
...such that Firefox does not try to treat drop as a new URL to navigate to. Addresses #688 and #527
This commit is contained in:
@@ -162,6 +162,11 @@ define(
|
||||
expect(mockScope.$apply).toHaveBeenCalled();
|
||||
});
|
||||
|
||||
it("invokes preventDefault on drop", function () {
|
||||
handlers.drop(testEvent);
|
||||
expect(testEvent.preventDefault).toHaveBeenCalled();
|
||||
});
|
||||
|
||||
it("clears highlights when drag leaves", function () {
|
||||
mockSwimlane.highlight.andReturn(true);
|
||||
handlers.dragleave();
|
||||
|
||||
Reference in New Issue
Block a user