mirror of
https://github.com/rabbibotton/clog.git
synced 2025-12-15 15:00:24 -08:00
leave data-clog-name in rendered html
This commit is contained in:
parent
b87e63d8e0
commit
4188df9f01
1 changed files with 4 additions and 1 deletions
|
|
@ -714,8 +714,11 @@ not a temporary attached one when using select-control."
|
|||
(format nil
|
||||
"var z=~a.clone();~
|
||||
z.find('*').each(function(){~
|
||||
var m=$(this).attr('data-clog-name');
|
||||
if($(this).attr('data-clog-composite-control') == 't'){$(this).text('')}~
|
||||
for(n in $(this).get(0).dataset){delete $(this).get(0).dataset[n]}});~
|
||||
for(n in $(this).get(0).dataset){delete $(this).get(0).dataset[n]}~
|
||||
if(m){$(this).attr('data-clog-name', m);}~
|
||||
});~
|
||||
z.html()"
|
||||
(jquery content)))
|
||||
"\\\"")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue