Skip to contentSkip to conversation

conga/luci/plone-custom plone_javascript_varia ...

Cluster-devel [email protected] 1 participant 1 message Sep 25, 2006

lore
Share & tools
lore
#0 lore raw

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

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/plone-custom/plone_javascript_variables.js.pt.diff?cvsroot=cluster&r1=NONE&r2=1.1

/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>