Changeset [31f941bc8018dcef0f56371744a33eb24ab39caa] by gaspard
Revision 31f941bc8018dcef0f56371744a33eb24ab39caa,
committed by gaspard
· September 15th, 2008 @ 08:20 PM
Added new 't_id' parameter for [form]. This (global) parameter is used with ajax rendering. It lets you change the node that is used as main node '@node' when rendering the template. This is useful when you want to update a dropped node and set comments but still want to render the template in the receiver's context. See 'Node-test.zafu' for an example.
git-svn-id: svn://svn.zenadmin.org/zena/trunk@1154 aaa19a3b-e121-0410-9d45-962fd44e537e http://github.com/zena/zena/comm...
5 changed files
-
M
app/helpers/application_helper.rb -
M
app/views/nodes/update.rjs -
M
lib/parser/lib/rules/zena.rb -
M
test/fixtures/files/Node-test.zafu -
M
test/helpers/zena_parser/ajax.yml