Commit Graph

606 Commits

Author SHA1 Message Date
Nathan Gray
0502f9326c Make sure ajax flag is at the end so framework finds it 2013-11-26 22:23:08 +00:00
Hadi Nategh
fca35f8127 Revert r44596 about egw_refresh 'cause need more investigation 2013-11-26 08:48:10 +00:00
Nathan Gray
6985c3d61f Resize popups according to their content 2013-11-21 19:09:17 +00:00
Nathan Gray
fd737f10dc Change queued AJAX to go async 2013-11-20 23:40:26 +00:00
Nathan Gray
e231ca5212 Fix some splitter issues:
- Loaded at wrong size
- Docking lost previous pane size
- Docking overwrote bar location preference
- Allowed etemplate to think load was done too early
2013-11-20 23:27:10 +00:00
Nathan Gray
089144d986 Avoid adding CSS files again if they're already in the header 2013-11-19 23:22:33 +00:00
Hadi Nategh
74d0797904 Make sure only fall into et2 specific reload for egw_refresh when the etemplate2 object has value 2013-11-19 08:36:08 +00:00
Ralf Becker
8e69433829 use template specific images for foldertree, use "template" handler for all calls to template/framework object, NOT instanciating a new one using eg. a parent class 2013-11-15 16:28:24 +00:00
Nathan Gray
fb2c103cef Use current app to get around missing etemplate run rights 2013-11-13 23:57:49 +00:00
Nathan Gray
31a42e3110 Use current app to get around missing etemplate run rights 2013-11-13 23:22:44 +00:00
Nathan Gray
aa47e50f97 Fix missing drag helper 2013-11-06 23:12:32 +00:00
Ralf Becker
aeb6ebd84c instanciate app.js object from egw.js, so non et2 apps can use it too, get et2_dialog working from app.calendar outside listview 2013-11-05 18:08:07 +00:00
Ralf Becker
6d226a7921 split constructor function and place of instanciation for app.js objects: app[appname] = new app.classes[appname](); 2013-11-04 20:54:23 +00:00
Nathan Gray
07ff17704f Refresh current app or target app too, like it says it's supposed to 2013-11-04 18:57:20 +00:00
Nathan Gray
4d29125c41 Fix some window/scope issues with jquery & plain assign handlers to make sure they operate on the window, not the request context (which can be anything) 2013-10-28 22:22:09 +00:00
Nathan Gray
ae04210b66 jqplot version update to 1.0.8 2013-10-24 20:24:26 +00:00
Nathan Gray
1e6fcec665 Fix missing typeof operator 2013-10-24 17:01:58 +00:00
Klaus Leithoff
9a8ecd6e12 add additional moonocolor skin 2013-10-21 11:33:05 +00:00
Klaus Leithoff
aefa07f028 fix broken kama skin, remove obsolet kama skin.js 2013-10-21 11:04:47 +00:00
Klaus Leithoff
7b7c9f47a6 fix broken kama skin, add icons_hidpi.png 2013-10-21 10:59:38 +00:00
Klaus Leithoff
e24697679d fix broken kama skin 2013-10-21 10:58:31 +00:00
Nathan Gray
f6526a30e8 Fix intermittent issue with missing window breaking ajax 2013-10-18 21:01:53 +00:00
Ralf Becker
998d568ef4 for egw.json calls in a popup we need to use jQuery object of that window, as otherwise eg. apply from server with app.$app.method to run in main window instead of popup 2013-10-18 16:14:36 +00:00
Klaus Leithoff
1d3998c99e * CKeditor: update to version 4.2.2 2013-10-17 15:13:47 +00:00
Nathan Gray
b77ce6a8dc - MagicSuggest update
- Fix setting taglist value via js
2013-10-11 14:38:04 +00:00
Nathan Gray
129eb91b3d Null is also not OK for icon 2013-10-10 16:15:46 +00:00
Klaus Leithoff
43d73abbcd test if the required method is available on framework 2013-10-10 15:38:18 +00:00
Ralf Becker
24e3fb2e63 fix "Got invalid title request, by NOT sending empty requests" warnings 2013-10-10 10:49:41 +00:00
Nathan Gray
e0954288dd Switch to a heartbeat style of tracking open [named] popups. Seems much more consistent. 2013-10-10 09:37:21 +00:00
Nathan Gray
33a88ea089 Also accept meta (Command) key to turn on dragging files out of window 2013-10-09 09:12:02 +00:00
Ralf Becker
6cfd7b22b7 using jQueryUI resizable to resize sidebox, getting it to work under CSP that way 2013-10-08 12:06:07 +00:00
Ralf Becker
bafcc80e35 fixed translations not loaded on very first request, as postponing ready for waiting on translations did not work, now using a direct callback instead 2013-10-08 08:55:15 +00:00
Ralf Becker
0bb8093426 fixed translations on client-side: server sends now currentapp and langRequire to client, which uses that to translate phrases, langRequire is only stored in egw object for matching app-name and window! 2013-10-07 17:00:03 +00:00
Ralf Becker
a6311fa1a3 creating and using an app-specific egw object 2013-10-07 16:53:13 +00:00
Nathan Gray
746e6ea193 Also accept just the window name to windowClosed(), as sometimes window.name is not available anymore. 2013-10-07 11:20:47 +00:00
Nathan Gray
57c412bd47 Slightly more robust popup handling.
It's still not possible to completely track them, but it's a little better.
2013-10-07 10:09:08 +00:00
Nathan Gray
3ca2448f94 Make storage api global 2013-10-07 10:08:24 +00:00
Ralf Becker
43e1bfcc12 switching on Content-Security-Policy: script-src 'self' 'unsafe-eval' for all templates, old non-et2 apps can call egw_framework::csp_script_src_attrs('unsafe-inline') to enable inline scripts in their scope, et2 does it for CK editor which does not support CSP currently and old etemplate does it for all apps using it 2013-10-05 13:33:28 +00:00
Nathan Gray
8a7ffaa182 Restore accidentally removed return of popup window 2013-10-05 09:38:22 +00:00
Nathan Gray
893648e189 Add the ability to track named popups opened using egw.open() or egw.open_link(). Unnamed popups or those opened in other ways are not tracked. You can get the list using egw.getOpenWindows(app, regex_filter), which returns a list of names.
Also, a wrapper around session storage.
2013-10-05 09:28:12 +00:00
Ralf Becker
59f264ada4 do NOT require enabled=true for (enable|disable)Class or enableId attribute to work 2013-10-04 11:18:50 +00:00
Nathan Gray
282fb76cb6 Improve error message 2013-10-04 09:40:35 +00:00
Ralf Becker
2f39c7b4dd fixed not working preferences under idots template 2013-10-03 15:54:19 +00:00
Ralf Becker
dad39e1d8a moved all confirmation to api egw_actions and changed select_all to depend on all visible rows selected (Ctrl-A) 2013-10-03 15:30:27 +00:00
Ralf Becker
66db293a67 missing commit for new preferences 2013-10-03 15:17:14 +00:00
Ralf Becker
6f162f144e add context sensitive link to ACL/grant access to top-menu, same is to be happen for cats and preferences itself and preferences in sidebox will be removed 2013-10-02 16:29:08 +00:00
Nathan Gray
756b3d3380 Fix app-level redirect affects whole page 2013-09-30 12:34:45 +00:00
Nathan Gray
07b311d495 Enhance error message to actually include the original error message 2013-09-17 20:17:20 +00:00
Nathan Gray
6fd5e50d60 Use a two step process to force an absolute URL, in case server settings have full URL 2013-09-17 15:34:39 +00:00
Nathan Gray
68b1178657 Undefined needs quotes. 2013-09-16 14:35:55 +00:00