Commit 4c0fa382 authored by Fabien Morin's avatar Fabien Morin

fix some not xhtml valid code

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@31717 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent e6b52dbd
...@@ -223,7 +223,7 @@ ...@@ -223,7 +223,7 @@
<div class="input">\n <div class="input">\n
<select class="input" name="clone_portal_type" \n <select class="input" name="clone_portal_type" \n
size="1" onchange="setCreationMode(this)">\n size="1" onchange="setCreationMode(this)">\n
<option value="None" selected>&mdash; Same as Current &mdash;</option>\n <option value="None" selected="selected">&mdash; Same as Current &mdash;</option>\n
<option tal:repeat="portal_type python: here.getPortalWebDocumentTypeList()"\n <option tal:repeat="portal_type python: here.getPortalWebDocumentTypeList()"\n
tal:content="portal_type"\n tal:content="portal_type"\n
tal:attributes="value portal_type"\n tal:attributes="value portal_type"\n
...@@ -235,7 +235,7 @@ ...@@ -235,7 +235,7 @@
<div class="field hiddenLabel">\n <div class="field hiddenLabel">\n
<label> </label>\n <label> </label>\n
<div class="input">\n <div class="input">\n
<button alt=\'Clone &amp; Edit\' id="clone_action_button" \n <button id="clone_action_button" \n
title=\'Clone &amp; Edit\'\n title=\'Clone &amp; Edit\'\n
name="Base_cloneContent:method">\n name="Base_cloneContent:method">\n
<img src="admin_toolbox_clone_document.png" id="clone_action_icon"\n <img src="admin_toolbox_clone_document.png" id="clone_action_icon"\n
...@@ -283,9 +283,8 @@ ...@@ -283,9 +283,8 @@
// replace the action icon\n // replace the action icon\n
document.getElementById(\'clone_action_icon\').src = eval(action + \'_icon.src\');\n document.getElementById(\'clone_action_icon\').src = eval(action + \'_icon.src\');\n
\n \n
// update action button alt & title\n // update action button title\n
var button = document.getElementById(\'clone_action_button\');\n var button = document.getElementById(\'clone_action_button\');\n
button.alt = action_name;\n
button.title = action_name;\n button.title = action_name;\n
button.name = name;\n button.name = name;\n
}\n }\n
......
...@@ -164,7 +164,7 @@ ...@@ -164,7 +164,7 @@
<div class="field hiddenLabel">\n <div class="field hiddenLabel">\n
<label> </label>\n <label> </label>\n
<div class="input">\n <div class="input">\n
<button alt=\'Clone &amp; Edit\' id="clone_action_button" \n <button id="clone_action_button" \n
title=\'Clone &amp; Edit\'\n title=\'Clone &amp; Edit\'\n
name="Base_cloneContent:method">\n name="Base_cloneContent:method">\n
<img src="admin_toolbox_clone_document.png" id="clone_action_icon"\n <img src="admin_toolbox_clone_document.png" id="clone_action_icon"\n
...@@ -213,9 +213,8 @@ ...@@ -213,9 +213,8 @@
// replace the action icon\n // replace the action icon\n
document.getElementById(\'clone_action_icon\').src = eval(action + \'_icon.src\');\n document.getElementById(\'clone_action_icon\').src = eval(action + \'_icon.src\');\n
\n \n
// update action button alt & title\n // update action button title\n
var button = document.getElementById(\'clone_action_button\');\n var button = document.getElementById(\'clone_action_button\');\n
button.alt = action_name;\n
button.title = action_name;\n button.title = action_name;\n
button.name = name;\n button.name = name;\n
}\n }\n
......
887 888
\ No newline at end of file
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