1
0
mirror of https://github.com/EGroupware/egroupware.git synced 2024-12-18 04:31:06 +01:00
Commit Graph

12 Commits

Author SHA1 Message Date
Ralf Becker
38798b872d Force use of singleton: $response = egw_json_response::get(); not using it causes response being wrapped in an other response 2013-08-25 12:42:55 +00:00
Nathan Gray
4fc2691b6a Avoid double includes 2012-09-19 16:22:21 +00:00
Ralf Becker
516b977472 ability to queue ajax requests on the client and send them as a single ajax request every N ms to the server
a) instead of a single request like: new egw_json_request(menuaction, params).sendRequest(true, callback, context); 
b) you call: egw.jsonq(menuaction,params,callback,context)
The server callback is identical for both kinds of requests. All egw_json_response methods can be used and the callback is optional.
2011-09-13 17:27:02 +00:00
Ralf Becker
fe086b752b make sure egw_json_response object get instancated, so it's destructor get called and sends at least an empty response object, checkpoint dont like empty HTTP responses 2011-05-03 19:43:51 +00:00
Klaus Leithoff
aecfe9d768 disable dla_update for xajax felemimail call to refresh MessageList and FolderList periodically 2011-04-13 13:31:09 +00:00
Ralf Becker
6836518858 removed unnecessary refresh_table from update, as it makes problems with PostgreSQL 2011-03-14 17:50:22 +00:00
Andreas Stöckel
6558a861a1 Added error message if the json content got thrown away because there was javascript in it 2010-06-29 12:58:55 +00:00
Andreas Stöckel
d8983b6cd1 Added wrapper for xajax.addScriptCall(), added ?cd=10 to json.php response again 2010-06-11 11:41:12 +00:00
Andreas Stöckel
f5d08b580f Fixed problem with generation of numerical indices in _egw_json_getFormValue, using the new global parameter of egw_json_response.redirect in json.php 2010-06-11 10:22:49 +00:00
Ralf Becker
b672e1941b fixed wrong method name, had to be alert() not addAlert() 2010-06-08 09:34:49 +00:00
Ralf Becker
a3bb4afe1b documenting and adding exception and redirect handler to json handler 2010-06-01 18:54:31 +00:00
Andreas Stöckel
0c243b49a3 - Updated JS and PHP egw_json code
- Added array_stripslashes() to common_functions.inc.php
- Added json handler (json.php)
2010-06-01 14:20:55 +00:00