danieltellez a écrit :
Hi all,
Hello,
Sorry for the very late answer on that.
We've found an error when we use datetime widget on directories. If you
click on "..." button, you get an incorrect behavior.
We've solved it by including this code on style_slot on
cpsdocument_edit_form.pt and cpsdocument_create_form.pt:
<style type="text/css"
tal:content="string:@import
url(${base_url}calendar-win2k-1.css);"></style>
<script type="text/javascript" src="calendar.js"
tal:attributes="src string:${base_url}calendar.js"></script>
<script type="text/javascript" src="lang/calendar-en.js"
tal:define="local cpsmcat/getSelectedLanguage"
tal:attributes="src
string:${base_url}calendar-lang/calendar-${local}.js"></script>
<script type="text/javascript" src="calendar-setup.js"
tal:attributes="src string:${base_url}calendar-setup.js"></script>
This is fixed in the recent versions of CPS,
... at least for 2 years it seems :-)
Anyway, thanks for the time you have taken to share your fix.
Regards,
--
Marc-Aurèle DARCHE
Open Source Enterprise Content Management (ECM) http://www.nuxeo.org/
NUXEO (Paris, France) http://nuxeo.com/
_______________________________________________
cps-devel mailing list
http://lists.nuxeo.com/mailman/listinfo/cps-devel