mirror of
https://github.com/rabbibotton/clog.git
synced 2025-12-06 02:30:42 -08:00
event drop down now shows if events exist or not
This commit is contained in:
parent
a9e778c965
commit
4e539c7303
4 changed files with 113 additions and 79 deletions
|
|
@ -170,6 +170,15 @@ after attachment is changed to one unique to this session."))
|
|||
attribute-name (escape-string value)))
|
||||
value)
|
||||
|
||||
(defgeneric has-attribute (clog-element attribute-name)
|
||||
(:documentation "Returns t if ATTRIBUTE-NAME exists on CLOG-ELEMENT"))
|
||||
|
||||
(defmethod has-attribute ((obj clog-element) attribute-name)
|
||||
(when (equal (jquery-query obj (format nil "attr('~A')!==undefined"
|
||||
attribute-name))
|
||||
"true")
|
||||
t))
|
||||
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
;; Placement - clog-element
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue