conga/luci/plone-custom plone_javascript_varia ...
CVSROOT: /cvs/cluster
Module name: conga
Changes by: rmccabe at sourceware.org 2006-09-25 18:44:55
Added files:
luci/plone-custom: plone_javascript_variables.js.pt
Log message:
keep harmless errors from being generated in the event log
/cvs/cluster/conga/luci/plone-custom/plone_javascript_variables.js.pt,v --> standard output revision 1.1
- renamed from luci/plone-custom/plone_javascript_variables.js.pt +7 -0
@@ -0,0 +1,7 @@ +<tal:block define="_dummy python:request.response.setHeader('content-type','text/javascript;;charset=utf-8')" /> +<metal:block i18n:domain="plone"> +// Global Plone variables that need to be accessible to the Javascripts +var portal_url = '<tal:block replace="here/portal_url" />'; +var form_modified_message = 'Your form has not been saved. All changes you have made will be lost.'; +var form_resubmit_message = 'You already clicked the submit button. Do you really want to submit this form again?'; +</metal:block>