Author: jmorliaguet Date: Tue Feb 7 12:39:08 2006 New Revision: 2318 Modified: cpsskins/branches/jmo-perspectives/ui/framework/tests/zope3/functional/chat/cpsskins_chat.pt Log:
- the "sending message" status info message is now an hidden field. (a form controller can be used instead.) Modified: cpsskins/branches/jmo-perspectives/ui/framework/tests/zope3/functional/chat/cpsskins_chat.pt ============================================================================== --- cpsskins/branches/jmo-perspectives/ui/framework/tests/zope3/functional/chat/cpsskins_chat.pt (original) +++ cpsskins/branches/jmo-perspectives/ui/framework/tests/zope3/functional/chat/cpsskins_chat.pt Tue Feb 7 12:39:08 2006 @@ -155,6 +155,16 @@ }); form.appendChild(user); + var status = Canvas.createNode({ + tag: "input", + attributes: { + "type": "hidden", + "name": "status", + "value": "Sending message ..." + } + }); + form.appendChild(status); + var button = Canvas.createNode({ tag: "button", attributes: { @@ -189,7 +199,6 @@ function submitContent(info) { var data = info.options; var model = info.model; - data['status'] = 'Sending message ...'; model.setData(data); } -- http://lists.nuxeo.com/mailman/listinfo/z3lab-checkins