Commit Graph

3036 Commits

Author SHA1 Message Date
Nathan Gray
02c6f3b108 Remove some more references to phpgwapi/js/egw_json.js 2013-09-10 18:56:50 +00:00
Nathan Gray
dcfcec3ab1 Put checkbox before label by default 2013-09-10 18:39:31 +00:00
Nathan Gray
3ae18c9a78 - Use a et2_dialog over native prompt for editing comments
- Use jsapi's egw.json() for ajax
2013-09-10 17:57:41 +00:00
Nathan Gray
ca54de9e2c Use jsapi's egw.ajaxURL() 2013-09-10 17:55:05 +00:00
Nathan Gray
8105242434 Favorites fixes
- Fixes for multiple favorites on the page at the same time (multiple et2 apps)
- Use egw.json() calls
2013-09-10 17:06:15 +00:00
Nathan Gray
4996c584b3 Use a different method to avoid special expansion breaking nextmatch - skip it for grids inside a nextmatch. 2013-09-10 16:09:12 +00:00
Ralf Becker
256b888124 fix for templates containing no bottomNodes 2013-09-10 14:40:19 +00:00
Klaus Leithoff
8667f81010 change handling of progress attribute; only XET-ids work, when fetched with getWidgetById and widget.getDomNode (it may not be available at creation time, so we (re)check on createStatus time) 2013-09-10 12:57:40 +00:00
Klaus Leithoff
355ffbbb9b change handling of progress attribute; only XET-ids work, when fetched with getWidgetById and widget.getDomNode 2013-09-10 08:08:47 +00:00
Nathan Gray
9192652877 Let progress attribute be a widget ID or the ID of a specific DOM node 2013-09-09 22:04:48 +00:00
Nathan Gray
7b9b5efe7f Apparently expandName() can also return null - handle that too 2013-09-09 21:39:31 +00:00
Nathan Gray
2087aed7a3 Check to see if the substitution actually got something, or we could wreck the nextmatch rows. 2013-09-09 19:16:05 +00:00
Nathan Gray
230472d256 Change auto-repeat detection to additionally look through widgets for IDs like const[$row] when there is no row content 2013-09-09 18:52:11 +00:00
Nathan Gray
bfef97c8fc Documentation correction 2013-09-09 18:42:51 +00:00
Nathan Gray
b485b57785 Fix for hidden old popups breaking application height. Still not perfect in idots, but much better. 2013-09-05 21:51:47 +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
Nathan Gray
b1aca92a9e Merge egw_jsons - use api egw.ajaxUrl() 2013-09-04 23:30:29 +00:00
Nathan Gray
c2c5337bd2 Save a little trouble by using the global egw.preferences() directly 2013-09-04 23:20:44 +00:00
Ralf Becker
1f8e0e9e41 global method egw_message(_msg, _type) to display success-, warning- or error-messages in app-header 2013-09-04 19:02:34 +00:00
Ralf Becker
9d29c16c3a fixed no footer (eg. closing body and html tag) in jdots template, because etemplate2 (unneccessary) calls footer, but ignores its return value 2013-09-04 13:50:37 +00:00
Ralf Becker
baaaf5b877 static method to get app-names as options, as from the widget itself 2013-09-04 13:48:22 +00:00
Klaus Leithoff
74ec0f6651 fix some issues for file upload type validation 2013-09-04 09:03:54 +00:00
Nathan Gray
c53943aa76 Another try to avoid jQueryUI error about not created menu 2013-09-03 21:25:50 +00:00
Klaus Leithoff
3bc322690e throw exception if no name is given for instanciation of template 2013-09-02 12:51:53 +00:00
Klaus Leithoff
d5613a51fe swap haystack and needle, as they seem in wrong order for the purpose at hand 2013-09-02 07:52:57 +00:00
Nathan Gray
dc46ebed05 Avoid jQueryUI error about not created menu 2013-08-30 16:27:34 +00:00
Nathan Gray
4760b5f55e Keep column filters & sort of different nextmatches separate 2013-08-30 16:26:54 +00:00
Ralf Becker
65ef45630b change send_notifications to always restore modifications on user-enviroment, before returning 2013-08-30 13:48:47 +00:00
Klaus Leithoff
7744905ba8 try to resolve a use-session-stored-data related problem; make sure account_id and prefs are restored after send_notification 2013-08-30 12:57:51 +00:00
Ralf Becker
ecf440ed57 fixed SQL error caused by so_sql prefixing 0 with table name 2013-08-29 13:28:08 +00:00
Ralf Becker
b6013305f7 always replace dots with dashes in DOM id 2013-08-29 12:10:06 +00:00
Ralf Becker
a4ec8796af * Timesheet/PostgreSQL: fix SQL error when selecting a timerange 2013-08-29 10:59:00 +00:00
Nathan Gray
eb989ed98b Hold Ctrl key to drag a file from filemanager to system folder / desktop
Restricted to Chrome only, one file at a time, folders don't work well.
This uses Chrome-only DownloadURL, so other browser support is unlikely.
2013-08-28 22:31:14 +00:00
Ralf Becker
020d6d9394 replace all . 2013-08-28 14:43:27 +00:00
Ralf Becker
a74795387e replace . in template-ids with - to simplify css usage, as we do it the unique id already 2013-08-28 14:24:01 +00:00
Ralf Becker
ee843a5f02 can not set undefined from server side, only null, therefore allowing that as argument for id in egw_refresh 2013-08-28 12:50:49 +00:00
Ralf Becker
b42b0a9e21 new option to to show only enabled apps (ones which users can get run-rights for) in select-apps 2013-08-28 10:07:24 +00:00
Ralf Becker
c12c53bcb8 support getting app from "app_something::method" get_rows method 2013-08-28 06:59:06 +00:00
Nathan Gray
36021f5d13 Drag & drop files from user's system onto nextmatch row now working with sub-grids too 2013-08-27 20:24:55 +00:00
Nathan Gray
6028ac8eca Drag & drop files from user's system onto nextmatch row uploads & links file to that row 2013-08-27 17:26:02 +00:00
Nathan Gray
4e2843b4a1 Implement set_value() to accept a list of files, which triggers the async upload and callbacks 2013-08-27 17:20:08 +00:00
Nathan Gray
3d12c2b591 Add namespace to drop event bindings to easily remove only the ones the widget added. 2013-08-27 16:29:13 +00:00
Klaus Leithoff
4874e671ff commit some french lang file stuff; provided by Thomas Chaillot, Spirea 2013-08-27 08:54:00 +00:00
Nathan Gray
2875455a59 Avoid error if menu was not created 2013-08-26 23:29:52 +00:00
Nathan Gray
5a5b02c304 Remove HTML from title in example - jQueryUI changed to text() so HTML no longer works 2013-08-26 19:10:26 +00:00
Nathan Gray
4fa0370ce4 Avoid error if div has no ID (eg: dialog) 2013-08-26 19:08:02 +00:00
Nathan Gray
838966ae9e Properly fix date-timeonly js side to return a timestamp as all date widgets, server side converts it to expected format, same as others. 2013-08-26 17:04:43 +00:00
Nathan Gray
3b65d807ba Better handling for disabled columns.
Disabled grid columns don't create widgets, which caused the nm issues as it expected a widget in each cell.
2013-08-26 16:42:49 +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
0de6ab1b35 fix not working timesheet status and category actions: "disableClass", "enableClass" and "enableId" are now handled by action system itself, one should not set an explicit "enabled" attribute anymore 2013-08-26 08:24:50 +00:00