[Fusionforge-general] [Fusionforge-commits] FusionForge branch Branch_5_2 updated. 1ac3d4a717839fd20a144cb55a18a837634469db

Thorsten Glaser t.glaser at tarent.de
Wed Mar 6 09:56:51 CET 2013


On Mon, 4 Mar 2013, Franck Villaume wrote:

> my first try does not work... but i'm interested to switch to minijson helper.
> probably because i use the DocumentManager function to build javascript call
> and not as json answer.

Hmm.

I just normally echo javascript as-is and pass anything that
needs to be set from PHP as set of JSON variables, like this:

<script …>
<?php
echo '$foo = ' . minijson_encode($foo) . "\n";
?>
// do something with $foo
//]]></script>

> maybe the fix could be remove json switch ...

Uhm, I am not “deep enough” in the docman that I know what
you mean with that… but if you need any help, ask and tell
me what I should know / where the problem is.

bye,
//mirabilos
-- 
tarent solutions GmbH
Rochusstraße 2-4, D-53123 Bonn • http://www.tarent.de/
Tel: +49 228 54881-393 • Fax: +49 228 54881-314
HRB 5168 (AG Bonn) • USt-ID (VAT): DE122264941
Geschäftsführer: Boris Esser, Sebastian Mancke



More information about the Fusionforge-general mailing list