Annotation of kupu/plone/beforeunload.kupu, revision 1.1
1.1 ! dwinter 1: <?xml version="1.0" ?>
! 2: <kupu:feature
! 3: name="beforeunload"
! 4: implementation="plone"
! 5: xmlns="http://www.w3.org/1999/xhtml"
! 6: xmlns:kupu="http://kupu.oscom.org/namespaces/dist"
! 7: xmlns:tal="http://xml.zope.org/namespaces/tal"
! 8: >
! 9: <kupu:id>$Id: beforeunload.kupu 14575 2005-07-12 20:18:12Z duncan $</kupu:id>
! 10:
! 11: <kupu:part name="jsincludes">
! 12: <tal:condition condition="python:here.kupu_library_tool.installBeforeUnload() and not path('haveBeforeUnload|nothing')">
! 13: <script tal:condition="not:exists:portal/portal_javascripts"
! 14: type="text/javascript" src="kupubeforeunload.js"
! 15: tal:attributes="src string:${portal_url}/kupubeforeunload.js"
! 16: tal:define="global haveBeforeUnload python:True;"> </script>
! 17: </tal:condition>
! 18: </kupu:part>
! 19:
! 20: </kupu:feature>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>