Logo white

David RENÉ / hayamiki_lib

Sign in
  • Sign in
  • Project
  • Files
  • Commits
  • Network
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • hayamiki_lib
  • tools
  • rich_editor.anubis
  • [+] add rich_editor function as CoreAttrs to edit directly on double click on te… ...
    e3cc0aaf
    …xt with reference on table_name, column to edit and id of the row
    David RENÉ authored
    2022-09-17 15:37:11 +0900  
    Browse Code »
rich_editor.anubis 417 Bytes
Edit Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
/*
 * Created by PyramIDE.
 * User: フランスのトトロ aka (David RENÉ) 
 * Date: 08/09/2022
 * Time: 23:04
 * © David RENÉ
 */


transmit xlib/web/making_a_web_site.anubis

public define CoreAttrs
  rich_editor
  (
    String  html_id,
    String  table_name,
    String  column,
    DB_id   db_id
  )=
  event(ondblclick,"rich_text_edit('"+html_id+"', '"+table_name+"', '"+column+"', '"+db_id+"');") 
.