[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Cluster-devel] conga/luci/plone-custom plone_javascript_varia ...



CVSROOT:	/cvs/cluster
Module name:	conga
Changes by:	rmccabe 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
--- conga/luci/plone-custom/plone_javascript_variables.js.pt
+++ -	2006-09-25 18:44:56.519302000 +0000
@@ -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>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]