Commit f5860a09 authored by Jérome Perrin's avatar Jérome Perrin Committed by Aurel

run_my_doc: make TestPage_viewEditTest valid html

remove useless language="javascript"
remove useless <col>

This fixes these errors:

    Using nu validator to parse the view "TestPage_viewEditTest" (from erp5_run_my_doc bt) with warnings displayed :
    Error: line 623 column 33 : Table column 1 established by element “col” has no cells beginning in it.: st_table">
        <col class="action_column" />
        <
    Error: line 624 column 33 : Table column 2 established by element “col” has no cells beginning in it.: n" />
        <col class="action_column" />
        <
    Error: line 625 column 11 : Table column 3 established by element “col” has no cells beginning in it.: n" />
        <col />
        <
    Error: line 626 column 11 : Table column 4 established by element “col” has no cells beginning in it.: ol />
        <col />
        <
    Error: line 627 column 11 : Table column 5 established by element “col” has no cells beginning in it.: ol />
        <col />
        <
    Warning: line 619 column 85 : The “language” attribute on the “script” element is obsolete. You can safely omit it.: r.css">
      <script language="javascript"
              src="http://erp5-catalog-0:2201/portal_3010166623124138150/test_editor.js"></scri
    Warning: line 621 column 90 : The “language” attribute on the “script” element is obsolete. You can safely omit it.: script>
      <script language="javascript"
              src="http://erp5-catalog-0:2201/portal_3010166623124138150/erp5_run_my_docs.js"></scri
parent 939b8d21
......@@ -3,14 +3,9 @@
<link rel="stylesheet" type="text/css" tal:attributes="href string:${portal_url}/jquery/ui/css/erp5-theme/jquery-ui.css">
<link rel="stylesheet" type="text/css" tal:attributes="href string:${portal_url}/test_editor.css">
<script language="javascript" tal:attributes="src string:${portal_url}/test_editor.js"></script>
<script language="javascript" tal:attributes="src string:${portal_url}/erp5_run_my_docs.js"></script>
<script tal:attributes="src string:${portal_url}/test_editor.js"></script>
<script tal:attributes="src string:${portal_url}/erp5_run_my_docs.js"></script>
<table id="test_table">
<col class='action_column' />
<col class='action_column' />
<col/>
<col/>
<col/>
<thead>
</thead>
<tbody id="list">
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment