Commit Graph

32 Commits

Author SHA1 Message Date
Hadi Nategh
436424c1c7 Revert back the window close to normal timing as delay breaks closing of compose dialog 2015-01-30 15:25:47 +00:00
Ralf Becker
8633eb416e we have to wait a little, to give browser time to same autocomplete values 2015-01-29 18:04:49 +00:00
Ralf Becker
fa0a10a840 moving egw_openWindowCentered() to egw(window).openPopup() 2014-12-01 10:44:51 +00:00
Hadi Nategh
7984f04078 Override window.close() with framework specific close function 2014-11-27 17:01:47 +00:00
Ralf Becker
076b928d39 also switching to "internal" popups for mobile theme 2014-11-26 17:06:46 +00:00
Hadi Nategh
23d4e045f3 Call framework specific window opener if it is on mobile framework 2014-11-26 16:58:03 +00:00
Ralf Becker
df7025f879 allow app to specify "availHeight" for its popup height and keep that height in automatic resize, for OS (eg. Linux) does not report an availHeight < height, we subtract 100px 2014-11-10 10:41:23 +00:00
Ralf Becker
29cae75178 fix IDE warnings / documentation and move "use strict" from global scope to object itself 2014-10-09 09:34:24 +00:00
Hadi Nategh
22d6d80aae Add browser popup blocker checker for open_link method.
-Fix not poping up the emailadminWizard popup when an IMAP error occurrs, because of the browser blocks the popup.
2014-08-04 14:02:05 +00:00
Ralf Becker
a4b27d286d * FireFox/all apps: fixed in recent FF version popups opened always in a single popup (overwritting previous opened one) 2014-03-26 10:32:17 +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
Nathan Gray
95b51fefea Some UI for client error log, log egw.open() calls 2014-01-21 09:21:46 +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
Hadi Nategh
9dcc4cc00a Map mailto url params to right object in mailto magic function 2014-01-13 17:37:46 +00:00
Nathan Gray
89e1757d9e Avoid errors if no email address was provided 2013-12-19 17:16:33 +00:00
Nathan Gray
72c37e0849 non-et2 Favorites work in progress
Handle states that are id_data objects for egw.open()
2013-12-06 23:12:05 +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
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
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
e2cce43bad fixed not working _self target 2013-09-02 13:25:00 +00:00
Ralf Becker
b5ca4ac505 fixed jdots/Stylite template to contain no more inline scripts 2013-08-20 18:01:49 +00:00
Ralf Becker
cf25e7bae0 get Eclipse to display outline 2013-08-16 09:16:40 +00:00
Nathan Gray
744345d751 Change egw.open() (which accepts _blank, _self, etc. as targets) to not pass invalid parameters to egw_link_handler() (which only accepts app names). 2013-07-15 16:03:37 +00:00
Nathan Gray
44e96714af Fix adding distribution list (& maybe some other link issues) by looking for framework's link handler in open_link() 2013-06-12 17:04:42 +00:00
Nathan Gray
04fd3b82a9 If egw_link_handler() is defined, use that instead of window.open() 2013-06-12 16:56:12 +00:00
Nathan Gray
74931d30a9 Return the result of opening so caller can use it 2012-12-04 00:13:12 +00:00
Frédéric Erpicum
e2cb9b44e7 resolve problems in opening windows for viewing or editing in projectmanager 2012-05-17 09:26:25 +00:00
Nathan Gray
55ad5a320b Open in new window if target is not specified 2012-04-25 16:23:27 +00:00
Ralf Becker
2f62d7e3b5 allow to set target in mime-registry: need target _self (instead default _blank) for directories opened in filemanager 2012-03-28 13:01:37 +00:00
Ralf Becker
2630a39651 moved egw_links.js window contect specific parts to egw_open.js: egw().open() and egw().open_link() renamed from egw().call_link() 2012-03-28 12:37:03 +00:00