Changeset 996 for trunk/include/ajax/textPreview.php
- Timestamp:
- 08/21/10 20:31:41 (21 months ago)
- Files:
-
- 1 modified
-
trunk/include/ajax/textPreview.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/ajax/textPreview.php
r548 r996 37 37 } 38 38 39 $ GLOBALS['_RESULT']= array(39 $aResult = array( 40 40 "bStateError" => $bStateError, 41 41 "sText" => $sTextResult, 42 42 ); 43 43 44 if (!headers_sent()) { 45 header('Content-type: application/json'); 46 } 47 echo json_encode($aResult); 44 48 ?>
