Ralf Becker
d46def6606
make sure null is returned as null, not as empty object ({})
2015-01-15 20:11:23 +00:00
Hadi Nategh
0d2932d0a6
Return clone of preference object as we don't want direct reference to original object
2015-01-08 13:43:33 +00:00
Ralf Becker
94d91f3ac8
allow to unset a preference by calling egw.set_preference(app,name)
2015-01-08 13:13:02 +00:00
Nathan Gray
a3a1d500ee
set_preference now accepts an additional callback parameter, passed on to jsonq
2014-07-08 03:34:05 +00:00
Ralf Becker
6fdf8c98d1
open preferences and ACL in a popup (ACL still needs a little more work: use et2_dialog to add/edit instead of an other popup)
2014-04-01 15:49:08 +00:00
Ralf Becker
81818d2bbd
fixing wired IE errors: need to clone data in set_preferences, as it gets cleaned up in IE
2014-02-25 17:05:16 +00:00
Ralf Becker
186bdbcb55
running categories and acl in iframe again. If they run top-level their admin/js/app.js objects conflict with other top-level admin/js/app.js object and only one working categories or acl tab can be opened
2014-02-17 15:11:26 +00:00
Ralf Becker
ca334ad13b
moving egw_preferences (handler to call preferenes, acl or categories) from jsapi.js to egw_preferences.js show_preferences() method
2014-02-07 14:04:12 +00:00
Ralf Becker
5a8b145b7f
fixed caching in a couple of places:
...
- user.php was not reloaded if (session-)preferences changed eg. language via select-box in login, because we used Expires header, but did not force a different url
- (user|config|images).php now has etag on url, to force reload by browser as we use an Expires header (changed images still need Admin >> clear cache to rebuild image cache)
- preferences are now loaded via a cachable GET request
2014-01-18 17:43:15 +00:00
Ralf Becker
53c6059d84
fix en translation is always used for common, caused by preferences had a stub default preference for common AND egw.includeJS immediatly called callback for a file just sheduled to be loaded, but not yet arrived
2014-01-15 17:39:07 +00:00
Nathan Gray
467734258c
Merge egw_jsons - change preferences to use egw.json()
2013-09-04 21:51:08 +00:00
Nathan Gray
3300e82b27
Implement queue when setting preferences
2013-06-11 22:48:27 +00:00
Nathan Gray
9616e44aff
Add ability to get all an application's preferences with '*'
2013-02-27 18:08:03 +00:00
Andreas Stöckel
d310b14ecf
Client side API now supports modules which are instanciated per application or per window; removed et2_debug function from et2_core_common, now using corresponding API function.
2012-03-05 13:07:38 +00:00
Andreas Stöckel
1876a5faa1
Splitted the egw object into multiple files, added system for allowing a application specific client-side api (use 'egw' as a function)
2012-03-01 16:24:29 +00:00