Ralf Becker
98b0578314
fixed not working refresh of user category list called via top-menu after adding/editing a category
2014-09-25 16:03:53 +00:00
Ralf Becker
056e5a1e96
Make sure _with value is not null when trying to replace it into url, it causes broken url while using _replace argument from refresh_opener
2014-08-22 13:20:07 +00:00
Nathan Gray
2bc3ad43c0
Avoid undefined error when links is not provided
2014-06-10 15:27:11 +00:00
Ralf Becker
6d6e9d8a43
also replace p tags
2014-06-05 09:54:21 +00:00
Ralf Becker
ddc17e8e0d
allow null as well as undefined for message-type-detection
2014-05-26 15:39:21 +00:00
Ralf Becker
28b45639be
to give observer method of other apps more information about what to refresh, server-side adds now links to refresh-opener and therefore observer calls
2014-05-26 13:29:35 +00:00
Ralf Becker
b1603f4fd3
support <br/> and a single <a href="...">Text</a> (no further attributes!) in egw.message()
2014-05-26 13:05:40 +00:00
Ralf Becker
7edd12d251
run observers in main window (eg. not iframe, which might be opener!)
2014-05-23 09:19:46 +00:00
Ralf Becker
24ee68bdf2
fixed infinit loop for apps running in iframe by refactoring frameworked templates work with client-side api:
...
- moved shared etemplate2 part into static etemplate2.app_refresh() method
- egw_message.refresh() calls framework.refresh() which can return a DOMwindow for egw.refresh() to work on, instead of calling egw.refresh recursive
2014-05-23 08:21:11 +00:00
Ralf Becker
893091e286
- new app.js observer method which receives update notifications from all apps
...
- app.infolog.observer triggering refresh of InfoLog list, when a timesheet get stored
- moved code of already deprecated egw_refresh() to egw.refresh() and changed etemplate to use that
- framework from jdots/pixelegg template no longer overwrites window.egw_refresh, but egw.refresh calls framework.refresh for regular refreshs if framework is present
2014-05-22 15:29:14 +00:00
Ralf Becker
19fc7acb7f
top.egw is a function not an object
2014-05-13 08:48:27 +00:00
Ralf Becker
554789e9ff
2 new message types "help" and "info" and displaying now all message types but "success" until next message or user explicitly closes them
2014-04-02 19:02:49 +00:00
Ralf Becker
e5aa97e2a0
fix IDE warnings
2014-02-25 16:03:12 +00:00
Ralf Becker
308dfdadc7
allow to already use egw.refresh() instead of egw_refresh() and added todo to move code
2014-02-25 09:46:05 +00:00
Nathan Gray
bad65780bc
Register a JSON handler to show error responses as error message instead of losing them.
2014-02-13 18:47:19 +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
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
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