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 |
|
Ralf Becker
|
aa8a848871
|
optional parameter for egw_framework::window_close() to specify an alert message, which get shown/alerted, before closing the window
|
2013-08-26 10:24:11 +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
|
73aa652c41
|
missing egw.js from last commit and egw_framework::window_focus() method
|
2013-08-20 13:25:36 +00:00 |
|
Ralf Becker
|
118657ddee
|
using etemplate_new::ajax_proecess_content to allow to have etemplate still extend etemplate_old, making etemplate_new autoloadable
|
2013-08-06 18:24:30 +00:00 |
|
Nathan Gray
|
cd64ef06dc
|
Fix copy/paste error initializing app.js object
|
2013-07-20 14:16:21 +00:00 |
|
Nathan Gray
|
d4880a3351
|
Load & parse etemplate2 if set in egw.js object's data-attributes
|
2013-07-20 13:42:23 +00:00 |
|
Ralf Becker
|
70c56ebab6
|
one more missing debug
|
2013-07-19 15:22:37 +00:00 |
|
Ralf Becker
|
d16c426fb6
|
first step towards content-security by passing parameters to egw.js script via data-attributes of script tag instead of using inline scripts in page
|
2013-07-19 08:45:26 +00:00 |
|
Nathan Gray
|
978a90852c
|
Add a base object for application javascript code to contain it, and solve initialization timing issues
|
2013-04-09 08:45:59 +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 |
|