class to interface
original commit: 58c7227972b31e1ba5a792edd0ec50657fb2a8b8
This commit is contained in:
parent
c3cde79d5e
commit
5792cf2d7e
|
@ -130,7 +130,7 @@
|
|||
(lambda (edit)
|
||||
(let ([admin (send edit get-admin)])
|
||||
(cond
|
||||
[(is-a? admin editor-snip-editor-admin%)
|
||||
[(is-a? admin editor-snip-editor-admin<%>)
|
||||
(send (send (send admin get-snip) get-admin) get-editor)]
|
||||
;; assume that any non-media-snip
|
||||
;; administrator doesn't have embedded edits.
|
||||
|
|
|
@ -445,7 +445,7 @@
|
|||
[pop-out
|
||||
(lambda ()
|
||||
(let ([admin (send edit get-admin)])
|
||||
(if (is-a? admin editor-snip-editor-admin%)
|
||||
(if (is-a? admin editor-snip-editor-admin<%>)
|
||||
(let* ([snip (send admin get-snip)]
|
||||
[edit-above (send (send snip get-admin) get-editor)]
|
||||
[pos (send edit-above get-snip-position snip)]
|
||||
|
|
Loading…
Reference in New Issue
Block a user