- Timestamp:
- 16 Jul 2007, 14:17:45 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_default/external_edit_buttons.pt
r805 r2020 9 9 id="external_close_button" 10 10 i18n:attributes="value" /> 11 <tal:block define=" 12 use_ajax use_ajax|python:True; 13 content_changed python:cpsmcat('psm_content_changed'); 14 content_error python:cpsmcat('psm_content_error'); 15 working python:cpsmcat('psm_ajax_working')" 16 condition="python:use_ajax"> 17 <script type="text/javascript" 18 tal:content="string: 19 // unobtrusive form controller, that leaves the form accessible 20 var editor = new CPSDocumentEditor( 21 'editForm', 22 $$('editForm').action, 23 'editForm', 24 new Array('external_edit_button'), 25 null, 26 'page_title', 27 {content_changed: '${content_changed}', 28 working: '${working}', 29 content_error: '${content_error}'}, 30 null, 31 new Array('addwidget_button'));" 32 > 33 </script> 34 </tal:block> 11 35 </metal:block> 12 36
Note: See TracChangeset for help on using the changeset viewer.