Commit e3cc0aaf3528dca57f7bc8ee948b4329acd7126d
1 parent
d57036b4
[+] add rich_editor function as CoreAttrs to edit directly on double click on te…
…xt with reference on table_name, column to edit and id of the row
Showing
1 changed file
with
21 additions
and
0 deletions
Show diff stats
| 1 | +/* | |
| 2 | + * Created by PyramIDE. | |
| 3 | + * User: フランスのトトロ aka (David RENÉ) | |
| 4 | + * Date: 08/09/2022 | |
| 5 | + * Time: 23:04 | |
| 6 | + * © David RENÉ | |
| 7 | + */ | |
| 8 | + | |
| 9 | + | |
| 10 | +transmit xlib/web/making_a_web_site.anubis | |
| 11 | + | |
| 12 | +public define CoreAttrs | |
| 13 | + rich_editor | |
| 14 | + ( | |
| 15 | + String html_id, | |
| 16 | + String table_name, | |
| 17 | + String column, | |
| 18 | + DB_id db_id | |
| 19 | + )= | |
| 20 | + event(ondblclick,"rich_text_edit('"+html_id+"', '"+table_name+"', '"+column+"', '"+db_id+"');") | |
| 21 | +. | ... | ... |