Commit Graph

87 Commits

Author SHA1 Message Date
Ralf Becker
db774ece2b fix intro offer was not translated and now shown in idots template, also changed wording a little and added German translation 2015-10-24 11:07:22 +00:00
Hadi Nategh
60011b644c Resize popup window till not getting horizontal scrollbar 2015-10-01 13:17:41 +00:00
Ralf Becker
bdf5c436dd stop redirection loop 2015-05-01 16:34:28 +00:00
Hadi Nategh
ff507682eb Replace deprecated console.timelineEnd and console.timeline with console.timeEnd and console.time 2015-03-27 10:46:56 +00:00
Hadi Nategh
715bcbd92d Do not trigger window resize for mobile devices as they are getting opened fullscreen anyway 2015-03-17 14:15:20 +00:00
Hadi Nategh
13684d4903 Activate cross-browser autocomplete
- Replace et2_contianer from DIV to FORM
- Add autocomplete fixer to submit action
- Add autocomplete fixer to nextmatch search box
2015-02-03 17:42:32 +00:00
Ralf Becker
85bcd0200d modernized login- and start-message editing a bit 2015-01-09 18:58:23 +00:00
Hadi Nategh
3e790be681 Prevent egw window resize happens on each reload even if the window has not been resized manualy 2015-01-06 14:52:41 +00:00
Hadi Nategh
e59e843707 Fix passing wrong context to egw.refresh 2014-12-10 13:33:42 +00:00
Hadi Nategh
e8056c388b Implement mobile framework popup resize 2014-12-01 17:38:52 +00:00
Ralf Becker
493bc485f1 fix resize to work with zoom at least up to 125%, by calling resize a 2. time 2014-11-28 14:00:40 +00:00
Ralf Becker
3f8acc1fd1 set opener as early as possible for framework popups 2014-11-27 17:34:06 +00:00
Hadi Nategh
7984f04078 Override window.close() with framework specific close function 2014-11-27 17:01:47 +00:00
Ralf Becker
f17042b34d have to wait for script files to be loaded, before calling egw.link_handler or any other egw method 2014-11-26 18:37:36 +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
6c7c29316a making popup resize a bit more relyable by using an extra timeout and trigger it for every load, not just first one 2014-10-30 11:09:38 +00:00
Nathan Gray
5082d8a634 - Better popup resize calculations
- Test new popup size for addressbook
2014-10-15 15:52:07 +00:00
Nathan Gray
7bcf736f09 Increase popup padding by 20x30 pixels 2014-10-07 23:26:25 +00:00
Ralf Becker
28d195417c fix error happening in browsers not supporting console object 2014-08-21 08:12:31 +00:00
Ralf Becker
f337b33502 * eTemplate2: fixed popups eg. tracker open empty, not rendering popup content 2014-07-21 13:38:23 +00:00
Ralf Becker
f49bbab26f fix an other CSP error, caused by json-responses send eg. from get_rows method on a GET request, filemanager opened in iframe from tracker 2014-07-17 17:26:00 +00:00
Ralf Becker
d4bb8a00a9 move et2_call method to egw.js to have it always available at window scope (it is NOT et2 specific), maybe we find a better/nicer place for it 2014-06-23 08:10:40 +00:00
Ralf Becker
ff00c695ca new API method egw_framework::popup($link, $target="_blank", $popup="640x480") to open a popup independent of running a regular or a JSON request 2014-06-18 13:57:15 +00:00
Ralf Becker
d28583a3a4 fix Array has no method match, if egw_framework::message() is called in GET request 2014-04-01 14:16:11 +00:00
Hadi Nategh
96a6a7ee1a Adjust width for resized popup windows, since we are trying to use fix width for edit popups 2014-03-10 16:04:01 +00:00
Ralf Becker
79e1b5c9b8 fixed CSP error for multiple eTemplate2s (CRM view), by allways sending etemplate data via et2_container tag (instead etemplate script tag) and create an et2 object for all of them in egw.js 2014-03-10 11:58:49 +00:00
Ralf Becker
11d77f3dab fixed a couple of problems with automatic switch to idots template from mobile browsers: csp-error, wrong icons 2014-03-03 17:35:48 +00:00
Ralf Becker
2f3add4ce9 hook to allow apps to add addional domains to CSP frame-src, eg. used by sitemgr to allow access to its sites, also fixed not displayed sidebox menu of old apps 2014-02-21 17:06:11 +00:00
Ralf Becker
bd941f3601 allow to send a redirect from server-side via client-side egw.link_handler(url, app) allowing to specify which tab to use and a top-level (ajax=true) url 2014-02-19 15:08:38 +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
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
Ralf Becker
4c2e29f960 more styling of calendar edit 2014-02-05 10:04:13 +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
Nathan Gray
6792b9831c Allow popups to set just a message without refreshing before closing 2014-01-15 14:40:42 +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
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
Ralf Becker
911e7d2955 ignore SecurityError exception if opener is different security context / cross-origin 2014-01-08 15:14:10 +00:00
Nathan Gray
7381f103e5 Initialize popup flag with window.opener detection, instead of false. 2013-12-19 17:18:01 +00:00
Nathan Gray
6f15f0aa4c Make popups 10px bigger 2013-11-29 17:42:20 +00:00
Ralf Becker
4f3f88ae92 fixed not updated sidebox in calendar when using framed template-set, as sidebox is now transported as data attribute, we need to set it in or before header call 2013-11-28 23:18:36 +00:00
Nathan Gray
b86173ad16 Fix warning to only come when app JS object is missing 2013-11-27 00:13:56 +00:00
Nathan Gray
6985c3d61f Resize popups according to their content 2013-11-21 19:09:17 +00:00
Nathan Gray
fb2c103cef Use current app to get around missing etemplate run rights 2013-11-13 23:57:49 +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
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
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
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
1590d02816 new egw_framework::message($msg, $msg_type="success") method and fixing nextmatch filter-change to return app-header 2013-09-05 11:53:25 +00:00
Ralf Becker
ccab8e0ac1 fix alert("1"), caused by data-window-close being a string 2013-08-27 16:49:57 +00:00