[Erp5-report] r14847 - in /erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style: SkinTemplat...
nobody at svn.erp5.org
nobody at svn.erp5.org
Mon Jun 18 14:07:05 CEST 2007
Author: jerome
Date: Mon Jun 18 14:07:05 2007
New Revision: 14847
URL: http://svn.erp5.org?rev=14847&view=rev
Log:
Remove completly the js to disable the dialog button.
Use i18n:attributes to translate attributes.
Assign a default tabindex to dialog buttons.
Modified:
erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/dialog_main.xml
erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision
Modified: erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/dialog_main.xml
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/dialog_main.xml?rev=14847&r1=14846&r2=14847&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/dialog_main.xml (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/dialog_main.xml Mon Jun 18 14:07:05 2007
@@ -95,16 +95,16 @@
<tal:block metal:define-slot="main" />\n
<tal:block metal:define-slot="bottom" />\n
</div>\n
- <input tal:attributes="value python: here.Base_translateString(\'Cancel Action\')"\n
- id="dialog_cancel_button" name="Base_cancel:method" type="submit"\n
- onclick="this.onclick=function(event) { return false; };" />\n
- <input tal:condition="python: form.update_action!=\'\'"\n
- tal:attributes="value python: here.Base_translateString(\'Update\')"\n
- id="dialog_update_button" name="Base_showUpdateDialog:method" type="submit" />\n
- <input tal:attributes="value python: here.Base_translateString(here.Base_getFormViewDialogActionButtonTitle(form));\n
- onclick python: dialog_category == \'object_report\' and \'return 1\' or default;\n
- name python: \'%s:method\' % (form_action, )"\n
- id="dialog_submit_button" type="submit" />\n
+ <input i18n:attributes="value" i18n:domain="ui" value="Cancel Action"\n
+ tabindex="100" id="dialog_cancel_button" name="Base_cancel:method" type="submit" />\n
+ <input i18n:attributes="value" i18n:domain="ui" value="Update"\n
+ tal:condition="python: form.update_action!=\'\'"\n
+ tabindex="101" id="dialog_update_button"\n
+ name="Base_showUpdateDialog:method" type="submit" />\n
+ <input tal:attributes="value python: here.Base_getFormViewDialogActionButtonTitle(form);\n
+ name string:${form_action}:method"\n
+ i18n:attributes="value" i18n:domain="ui" accesskey="V"\n
+ tabindex="102" id="dialog_submit_button" type="submit" />\n
</tal:block>\n
</tal:block>\n
</tal:block>\n
Modified: erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision?rev=14847&r1=14846&r2=14847&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision Mon Jun 18 14:07:05 2007
@@ -1,1 +1,1 @@
-371
+374
More information about the Erp5-report
mailing list