updated to the new pikotools api: [ezc out] and [out] changed to [ezc frame] or just [frame]
- when returning json streams changed "out" field to "frames" - renamed config parameter: allow_ezc_out_in_executable_items -> allow_ezc_frames_in_executable_items - added basic support for ajax requests in thread plugin
This commit is contained in:
@@ -335,7 +335,7 @@ void item_run(Info & i)
|
||||
InitGenerator(ezc_generator);
|
||||
ezc_generator.SetPattern(*p);
|
||||
|
||||
if( config->allow_ezc_out_in_executable_items )
|
||||
if( config->allow_ezc_frames_in_executable_items )
|
||||
ezc_generator.Generate(item_run_content, cur->request->out_streams);
|
||||
else
|
||||
ezc_generator.Generate(item_run_content);
|
||||
@@ -742,7 +742,7 @@ void item_tab_run(Info & i)
|
||||
InitGenerator(ezc_generator);
|
||||
ezc_generator.SetPattern(*p);
|
||||
|
||||
if( config->allow_ezc_out_in_executable_items )
|
||||
if( config->allow_ezc_frames_in_executable_items )
|
||||
ezc_generator.Generate(item_run_content, cur->request->out_streams);
|
||||
else
|
||||
ezc_generator.Generate(item_run_content);
|
||||
|
||||
Reference in New Issue
Block a user