Commit 7d636ab8387d0cbb0854d58594d90a8b1b85e31f
1 parent
5d663327
webmail bugs fixed
Showing
3 changed files
with
10 additions
and
6 deletions
Show diff stats
calexium_lib/web/CXM_dojo.anubis
| ... | ... | @@ -552,7 +552,7 @@ public define HTML_In_Form |
| 552 | 552 | InitialValue selected, |
| 553 | 553 | )= |
| 554 | 554 | // selector_c([attr("dojoType", "dijit.form.ComboBox") . attributes], label, id, name, 1, list_data, selected, non_mandatory). |
| 555 | - selector_c([], label, id, name, 1, list_data, selected). | |
| 555 | + selector_c(attributes, label, id, name, 1, list_data, selected). | |
| 556 | 556 | |
| 557 | 557 | public define HTML_Off_Form |
| 558 | 558 | dojo_toaster | ... | ... |
calexium_lib/web/CXM_making_a_web_site.anubis
| ... | ... | @@ -1732,8 +1732,11 @@ public define String |
| 1732 | 1732 | = |
| 1733 | 1733 | "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" "+ |
| 1734 | 1734 | "\"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n". |
| 1735 | - | |
| 1736 | 1735 | |
| 1736 | +public define String | |
| 1737 | + html_header | |
| 1738 | + = | |
| 1739 | + "<html xmlns=\"http://www.w3.org/1999/xhtml\">\n". | |
| 1737 | 1740 | |
| 1738 | 1741 | |
| 1739 | 1742 | *** [1] States. |
| ... | ... | @@ -4297,7 +4300,7 @@ define Printable_tree |
| 4297 | 4300 | if body is body(options,element) then |
| 4298 | 4301 | with answer_body = |
| 4299 | 4302 | [ doctype_w3c_header, |
| 4300 | - "<html xmlns=\"http://www.w3.org/1999/xhtml\">\n", | |
| 4303 | + html_header, | |
| 4301 | 4304 | "<head>\n", |
| 4302 | 4305 | add_css_styles(css_styles), |
| 4303 | 4306 | add_css_files(css_files), | ... | ... |
calexium_lib/web/CXM_mime.anubis
| ... | ... | @@ -63,6 +63,7 @@ public define String |
| 63 | 63 | String charset, |
| 64 | 64 | String text |
| 65 | 65 | )= |
| 66 | - with text2 = "=?"+charset+"?B?"+to_string(base64_encode(to_byte_array(text)))+"?=", | |
| 67 | - find_and_replace(text2, implode([13,10]), implode([13,10,32])). | |
| 68 | - | |
| 66 | + if length(text) > 0 then | |
| 67 | + with text2 = "=?"+charset+"?B?"+to_string(base64_encode(to_byte_array(text)))+"?=", | |
| 68 | + find_and_replace(text2, implode([13,10]), implode([13,10,32])) | |
| 69 | + else "". | ... | ... |