rendered html mataches original html in custom html block

This commit is contained in:
David Botton 2022-07-20 23:48:48 -04:00
parent ae6cdb7580
commit d57d5c6291
2 changed files with 3 additions and 3 deletions

View file

@ -654,7 +654,7 @@ not a temporary attached one when using select-control."
(when (getf (control-info dct) :on-load)
(funcall (getf (control-info dct) :on-load) control (control-info dct)))
(setup-control content control :win win)
(add-siblings (first-child control)))
(add-siblings (first-child control)))
(setf control (next-sibling control))))))
(add-siblings (first-child parent)))))
@ -759,6 +759,7 @@ not a temporary attached one when using select-control."
z.find('*').each(function(){~
var m=$(this).attr('data-clog-name');
if($(this).attr('data-clog-composite-control') == 't'){$(this).text('')}~
if($(this).attr('data-clog-composite-control') == 'b'){$(this).html($(this).attr('data-original-html'))}~
for(n in $(this).get(0).dataset){delete $(this).get(0).dataset[n]}~
if(m){$(this).attr('data-clog-name', m);}~
});~