mirror of
https://github.com/rabbibotton/clog.git
synced 2025-12-06 02:30:42 -08:00
add store-new-objects to swap-element-by-id
This commit is contained in:
parent
6ef9b9c20a
commit
c702623a6a
2 changed files with 5 additions and 1 deletions
|
|
@ -2266,6 +2266,9 @@ CLOG-ELEMENT and set CLOG-ELEMENT to html-id. Returns CLOG-ELEMENT"))
|
|||
(setf (property new "id") html-id)
|
||||
(setf (slot-value new 'html-id) html-id)
|
||||
(replace-element obj new)
|
||||
(when (or *store-new-objects*
|
||||
(connection-data-item new html-id))
|
||||
(setf (connection-data-item new html-id) new))
|
||||
(destroy obj)
|
||||
new))
|
||||
|
||||
|
|
|
|||
|
|
@ -2827,7 +2827,8 @@ of controls and double click to select control."
|
|||
(add-select-option list path name))))
|
||||
((and (> (length item) 5)
|
||||
(equal (subseq item (- (length item) 5)) ".clog"))
|
||||
(on-new-builder-panel target :open-file item))
|
||||
(on-new-builder-panel target :open-file item)
|
||||
(on-show-control-events-win target))
|
||||
(t
|
||||
(on-open-file target :open-file item)))))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue