Ralf Becker
3ec6ffe264
deal with situation that storage quota on html5 localstorage is exceeded:
...
- browser/user can limit quota, we then get an exception which must NOT stall EGroupware!
- we set a smaller MAX_LOGS of 200 instead of current 1000
- if currently more log items stored OR if exception.name=="QuotaExceededError" we clear whole log (trying to clear old limit of 1000 messages)
2014-02-12 10:38:39 +00:00
Ralf Becker
ea9e2569bc
fixed not working multiple account trigger after changing html::submit_button() from <input type="submit" to <button
2014-02-11 16:42:02 +00:00
Ralf Becker
a639b42222
translate calendar/timepicker on demand, works around not working call with ready in popup, fixes javascript error when doubleclick a mail
2014-02-11 15:17:43 +00:00
Ralf Becker
195c63a9d3
fixed "undefined is not a function" error originating from egw_message, because jQuery not loaded, when egw_message get initialised
2014-02-10 16:10:01 +00:00
Ralf Becker
9bfc082843
fix not opening infolog popup
2014-02-10 11:49:27 +00:00
Ralf Becker
061a1a07f2
fixed popup detection to deal with main EGw window opened with an opener from a different security context, also made is_popup() a global egw method
2014-02-10 11:21:58 +00:00
Ralf Becker
12666f0f53
fiddeling around with re-throwing event caught by global error-handler
2014-02-10 09:18:08 +00:00
Ralf Becker
1f599abaf6
fix exception for not found image / null passed
2014-02-10 09:16:18 +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
d90faa7dcc
fixed app-header show in wrong tab, caused by framework object being created AFTER egw
2014-02-07 09:11:30 +00:00
Nathan Gray
444d82d1c7
-Unencode favorite search, firefox leaves encoded spaces
...
-If adding a favorite with same name as existing favorite, old one is removed from the sidebox.
2014-02-06 17:53:29 +00:00
Ralf Becker
b13a7eefb8
calling egw.message() without or with empty argument clears message, installed click handler to hide message and also check for translation of "error" to determine unspecified type
2014-02-06 17:24:40 +00:00
Ralf Becker
6a8802fc35
move egw_(message|app_header) from jsapi.js to egw_message.js available as egw(window).message(_msg, _type) and make it usable in popups too
2014-02-06 15:42:33 +00:00
Nathan Gray
1cb3ac1111
Fix groups in add favorite popup:
...
- missing options for selectbox
- saving for group wouldn't work
2014-02-06 00:30:03 +00:00
Nathan Gray
2ece0f771f
Use ajax flag to load acl into div, not iframe
2014-02-05 22:39:00 +00:00
Nathan Gray
c771f2fc80
Make sure group is there before trying to set its value
2014-02-05 20:53:08 +00:00
Ralf Becker
4c2e29f960
more styling of calendar edit
2014-02-05 10:04:13 +00:00
Ralf Becker
b8aa28c055
fixed error if argument was a widget, using jQuery.extend instead not existing clone()
2014-02-03 09:59:30 +00:00
Ralf Becker
a659b49f51
silently fix skiped minutes or times with just one digit, as parser is quite pedantic ;-)
2014-01-29 13:10:31 +00:00
Hadi Nategh
fbccbb87a3
Fix wrong styling in egw_tail log
2014-01-28 08:33:28 +00:00
Ralf Becker
99ce5b41f9
allow to optionally specify app for redirect instead of always using current app
2014-01-27 16:28:39 +00:00
Hadi Nategh
ea20648d39
Remove inline-scripts from egw_tail. Additionally, add a new library to jsapi related to egw_tail
2014-01-27 14:29:24 +00:00
Ralf Becker
f0710fbecb
fixed et2_dialog static methods like confirm did not show translations: injecting an egw object with loaded translations for current app
2014-01-23 10:52:44 +00:00
Ralf Becker
a788827c1e
check if json apply needs a not yet instanciated app.js object and instanciate it in that case
2014-01-23 09:03:30 +00:00
Nathan Gray
e103145a53
Fix JSON to call callback even if server does not return anything in particular.
2014-01-22 09:30:22 +00:00
Ralf Becker
58e13743fc
make local storage more robust (deal with gaps)
2014-01-21 15:09:06 +00:00
Ralf Becker
93ae56a9f2
catch exception about circular reference in JSON.stringify, try fixing object by unsetting _parent&_children and if that does not work the whole argument
2014-01-21 11:23:26 +00:00
Nathan Gray
95b51fefea
Some UI for client error log, log egw.open() calls
2014-01-21 09:21:46 +00:00
Ralf Becker
658b773dc1
fixed an ide warning
2014-01-20 15:25:43 +00:00
Ralf Becker
595d2a23bf
first step of a javascript error notifier and clientside log
2014-01-20 15:23:40 +00:00
Nathan Gray
e276a14be1
Make sure to copy registry settings, not use reference
...
Fixes mail compose always filling address
2014-01-20 09:48:17 +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
Ralf Becker
0cc75cb3e6
need to strip egw-url from css includes, to not included css-files twice
2014-01-15 15:48:22 +00:00
Nathan Gray
6792b9831c
Allow popups to set just a message without refreshing before closing
2014-01-15 14:40:42 +00:00
Ralf Becker
e265874bd7
new method to create object tag for svg and img for all other image types
2014-01-14 16:07:39 +00:00
Hadi Nategh
9dcc4cc00a
Map mailto url params to right object in mailto magic function
2014-01-13 17:37:46 +00:00
Nathan Gray
71f0fcdda0
Implement refresh type 'update' to _only_ update the data of a row - sorting is not considered, so make sure to use 'edit' if sorting might be affected.
2014-01-13 09:40:23 +00:00
Nathan Gray
8228b9512d
Fix type attribute check to work
2014-01-13 08:58:16 +00:00
Nathan Gray
8e69a1e23b
Only call request callback once, when the request is finished.
...
Callback is not called if the response only has 'data' type responses, since data handler calls callback already.
2014-01-11 14:47:31 +00:00
Ralf Becker
ab490eadc1
extend egw.includeJS to support concatinated/bundled files included and not include contained files again
2014-01-11 12:10:31 +00:00
Nathan Gray
d94fc6b492
Fix not called callback
2014-01-11 11:41:05 +00:00
Nathan Gray
31987e9704
Check result type, if it's not 'data' quietly reject - fixes warning in multi-part responses
2014-01-11 11:40:30 +00:00
Nathan Gray
1742d07374
Use egw.debug function instead of console to warn about missing images.
2014-01-10 15:57:02 +00:00
Nathan Gray
15bc1b3909
Wait until DOM is loaded before trying to load etemplate or set message
2014-01-10 09:13:56 +00:00
Ralf Becker
5ec887d70d
fixing the fix: using private var to store config
2014-01-10 08:12:59 +00:00
Klaus Leithoff
4cc93e8ead
fix for unexpected not defined this.configs
2014-01-10 08:00:45 +00:00
Ralf Becker
400240f1e4
caching translations for 10days and changing translation url, when translations are changing --> saves server-roundtrip for each translation
2014-01-09 15:32:07 +00:00
Ralf Becker
90edb55ec5
add async include and et2 render times to page-generation-times shown
2014-01-09 12:20:13 +00:00
Ralf Becker
0092addd08
ignore SecurityError exception if opener is different security context / cross-origin
2014-01-08 15:19:04 +00:00