Commit a7adcfe65e6f9b8ef161b897774adcad0bb15bb6
1 parent
b9aa426f
Small dojo api change for editor
Showing
1 changed file
with
4 additions
and
4 deletions
Show diff stats
calexium_lib/web/CXM_dojo.anubis
| ... | ... | @@ -371,9 +371,9 @@ public define HTML_In_Form |
| 371 | 371 | dojo_editor |
| 372 | 372 | ( |
| 373 | 373 | List(CoreAttrs) attributes, |
| 374 | - String dojo_id, | |
| 375 | - String name, | |
| 376 | - HTML_In_Form text, | |
| 374 | + HtmlId html_id, | |
| 375 | + WebArgName input_name, | |
| 376 | + HTML_In_Form text, | |
| 377 | 377 | )=/* |
| 378 | 378 | text_area([input_attrs([ |
| 379 | 379 | attr("dojoType", "dijit.Editor"), attr("style", "overflow:auto") . |
| ... | ... | @@ -381,7 +381,7 @@ public define HTML_In_Form |
| 381 | 381 | . attributes], "", id, name, init(text), 0, 0).*/ |
| 382 | 382 | // literal("<div dojoType=\"dijit.Editor\" region=\"center\" id=\"${id}_edit\" name=\"${id}_edit\" > |
| 383 | 383 | //blablablablabal</div>"). |
| 384 | - div([id(dojo_id), attr("name", name), attr("dojoType", "dijit.Editor") | |
| 384 | + div([id(html_id.id), attr("name", input_name.name), attr("dojoType", "dijit.Editor") | |
| 385 | 385 | //, attr("style", "overflow:auto"), attr("extraPlugins" , "['createLink','insertImage',{name:'dijit._editor.plugins.FontChoice', command: 'fontName', generic: true},'fontSize']") |
| 386 | 386 | . attributes], text). |
| 387 | 387 | ... | ... |