mirror of
https://github.com/rabbibotton/clog.git
synced 2025-12-15 06:50:20 -08:00
Fix drop regression
This commit is contained in:
parent
fbc7ffa5e8
commit
22e54a8eca
2 changed files with 2 additions and 2 deletions
|
|
@ -307,7 +307,7 @@ result or if time out DEFAULT-ANSWER (Private)"))
|
|||
|
||||
(defparameter drop-event-script
|
||||
"+ (e.clientX - e.currentTarget.getBoundingClientRect().left + e.currentTarget.scrollLeft) + ':' +
|
||||
(e.clientY - e.currentTarget.getBoundingClientRect().top + e.currentTarget.scrollTop + ':' +
|
||||
(e.clientY - e.currentTarget.getBoundingClientRect().top + e.currentTarget.scrollTop) + ':' +
|
||||
encodeURIComponent(e.originalEvent.dataTransfer.getData('~A'))"
|
||||
"JavaScript to collect drop event data from browser.")
|
||||
|
||||
|
|
|
|||
|
|
@ -41,7 +41,7 @@
|
|||
(setf (draggablep object) t)
|
||||
;; 2 the on-drag-start event is set
|
||||
(set-on-drag-start object (lambda (obj)(declare (ignore obj))()) :drag-data "some data")
|
||||
;; 4 the target on-drag-over event is sett
|
||||
;; 4 the target on-drag-over event is set
|
||||
(set-on-drag-over target1 (lambda (obj)(declare (ignore obj))()))
|
||||
;; 5 the target on-drop event is set
|
||||
(set-on-drop target1 (lambda (obj data)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue