Commit Graph

1577 Commits

Author SHA1 Message Date
Andreas Stöckel
7f9db3701b Commited code for nextmatchRowAOI to support the new EGW_SELECTMODE_TOGGLE 2011-06-15 15:49:05 +00:00
Ralf Becker
1774e5674f support for multiple space or comma separated download dirs 2011-06-14 10:48:15 +00:00
Ralf Becker
e50565ccb4 allow multiple space or comma separated template directories 2011-06-14 08:54:42 +00:00
Andreas Stöckel
8cfae5bd16 Including JS-file for keyboard navigation 2011-06-12 16:43:43 +00:00
Ralf Becker
fcfbd038bc some fixes for the English translation, from our Suomi resident here as Stylite 2011-06-10 06:19:36 +00:00
Nathan Gray
e59b50e7fb If etemplate_exec_id is lost, pass along any GET parameters with redirect 2011-06-09 16:47:40 +00:00
Nathan Gray
ec56327c20 If action specifies target for location, use it 2011-06-06 20:22:49 +00:00
Ralf Becker
476a0c0a6d remove leading whitespace from caption used as confirmation message 2011-06-03 18:45:40 +00:00
Andreas Stöckel
bb8a28b6d7 Fixed typo in select handler assignment 2011-06-03 11:26:12 +00:00
Andreas Stöckel
6c1e8e0d06 Made selection on mobile devices work with touchend and not click (not final) 2011-06-02 22:50:35 +00:00
Ralf Becker
3bbc6a6962 - egw_open nm_action using new clientside link registry
- enabling/disabling actions based on row-id matching a regular expression
- children/submenus inherit 'url','popup','nm_action','onExecute','type','egw_open' attributes
2011-06-02 20:03:34 +00:00
Andreas Stöckel
4cb37be5d3 Implemented usage of global action manager and object manager for nextmatch widget 2011-06-02 14:49:56 +00:00
Nathan Gray
30bef48900 Fix hierarchical category action 2011-06-01 16:23:04 +00:00
Ralf Becker
c9fbcc329e if no confirm_msg given, use caption instead for select_all confirmation 2011-06-01 11:30:08 +00:00
Ralf Becker
4d2cf32f9a missed dragType in egw_action_supported attributes 2011-05-31 20:42:34 +00:00
Ralf Becker
5eca546898 some enhancements for the felamimail context menu 2011-05-31 19:49:19 +00:00
Ralf Becker
b64a0de528 allow to specify "none" in popup size for no popup AND no link target, to allow dial scripts to use status "204 No Content" 2011-05-30 14:59:40 +00:00
Ralf Becker
a147a9a4a8 fixed not working category color of rows (calendar, addressbook) 2011-05-30 11:08:37 +00:00
Ralf Becker
2e95210154 load new row selection / egw_actions system for all nextmatch lists, not only ones defining actions / context menus 2011-05-27 10:28:30 +00:00
Ralf Becker
678efd6ced switch to tab with customfield widget (empty name for call cfs), if validation error is for a cf (name prefixed with #), if no tab found add validation message to $content[msg] as a last resort to make it more visible to the user 2011-05-18 14:23:23 +00:00
Ralf Becker
1053267a96 fixed an "htmlspecialchars 1. param should be string, array given" error 2011-05-18 14:21:02 +00:00
Ralf Becker
3b90f44c89 got select entry custom fields honor required flag and select entry widget show required input with inputRequired css class 2011-05-18 10:23:39 +00:00
Nathan Gray
c93de715bc Clear action in case there's another one, prevents doubling 2011-05-17 19:13:55 +00:00
Klaus Leithoff
3ee6fba705 fix error on saving addressbook items with new link-widget customfields; error_log stuff (disabled) 2011-05-17 11:50:06 +00:00
Klaus Leithoff
64c798cda4 show raw selectvalue, if we are not able to show the corresponding selection entry 2011-05-17 11:46:56 +00:00
Klaus Leithoff
dcb5a86aca fix for bug #1631 on Stylite tracker: no browsing/navigation in egws popup filenavigation used for image browsing for CK-Editor. 2011-05-16 07:46:27 +00:00
Klaus Leithoff
46bd49e810 handle arrays as value, that are passed down for customfield links 2011-05-12 14:44:09 +00:00
Klaus Leithoff
064490bfef fix typo that prevented the referencing of sub elements in get_array in some cases 2011-05-12 12:03:55 +00:00
Klaus Leithoff
11411abef5 fix for 'cf_link_fields do not create link on inital save' in calendar: reason no id passed when called tracking for new events 2011-05-11 15:09:16 +00:00
Ralf Becker
fe6a0e906c automatic create and update links for custom fields linking to applicaton entries 2011-05-07 15:32:51 +00:00
Ralf Becker
0ced6fcf51 - storing etemplate form name and variable prefix into egw_actionManager to be able to work on a 2. eTemplate on a page (InfoLog in Addressbook view)
- moving (open|hide|submit)_popup used in InfoLog and Tracker to etemplate, so code can be shared
  --> change 'onExecute' => 'javaScript:open_popup' to 'nm_action' => 'open_popup' and onclick="(hide|submit)_popup()" to onclick="nm_(hide|submit)_popup()"
2011-05-07 08:47:58 +00:00
Ralf Becker
366aa7c05a - allow to specify to use selectbox, instead of category selection for category
- allow to specify name of action (infolog already uses 'action')
2011-05-06 18:10:50 +00:00
Ralf Becker
b52b7acf8a values are NOT yet used on client side, but give warnings if array are not converted to strings 2011-05-05 07:31:04 +00:00
Ralf Becker
e1783ea0f7 values are NOT yet used on client side, but give warnings if array are not converted to strings 2011-05-05 07:30:30 +00:00
Ralf Becker
beb6f20790 sort attributes, to stop xet files from changing because of changed attribute order 2011-05-05 06:51:40 +00:00
Ralf Becker
1e8de99ed7 Move initialisation for egw_actions stuff into static method of nextmatch_widget, it get called now from:
- etemplate::show_grid() 
- addressbook_ui::view() to load JS stuff before header get generated
2011-05-02 13:34:59 +00:00
Ralf Becker
dfd160f11b - automatic switch to hierarchical display, if more then $max_cats_flat=14 cats found
- add category icons
2011-05-01 09:11:45 +00:00
Ralf Becker
ce4543785c setting default to 14 2011-04-30 08:21:19 +00:00
Ralf Becker
4f65e182e1 automatic pagination of long context submenus, eg. categories 2011-04-30 08:17:14 +00:00
Ralf Becker
60edb83929 enable via a class and no more need to set enabled='javascript:nm...' for enableClass or disableClass 2011-04-27 16:54:35 +00:00
Ralf Becker
fb5ea143be - returning checked state of all checkboxes, not only select_all, in $content[nm][checkboxes]
- $content[nm][select_all] is now only reference to $content[nm][checkboxes][select_all]
- checkboxes need no default onExecute, therefore removed nm_select_all method
- improved documentation for action stuff in nextmatch widget
- added egwAction.getActionsByAttr(_attr, _val) method returning all actions with a given attribute and value
2011-04-27 07:49:46 +00:00
Ralf Becker
dc88e0c190 - automatic creation of action_links (enabled actions and ones which need to be checked if enabled) by using all first level actions plus the ones with enabled set to 'javaScript:...'
- a bit of docu about the actions system usable through nextmatch widget
--> addressbook disables now "remove from distirbution list" and "delete selected distribution list", if no distribution list is selected
2011-04-26 19:50:03 +00:00
Ralf Becker
98a2731116 - fixed not working add or remove category method from context menu
- disabling actions not available, because of missing rights
- trying to disable "remove from distribution list" and "delete distribution list", when no list is selected
  --> not yet working
2011-04-25 14:13:40 +00:00
Ralf Becker
2ccc4465e5 for select-all, show regular confirmation message plus select-all hint 2011-04-25 12:15:05 +00:00
Ralf Becker
e474b0f0d4 - insert in document action:
+ one submenu with default document (if set) on top
  + if more then 9 documents, show them in submenus by mime type
- added copy address as second point to add submenu, beside new
- icons for move to addressbook
- fixed icons for org views
--> addressbook context menu should now be fully functional - let me know if not ;-)
2011-04-25 11:30:37 +00:00
Ralf Becker
40c4477b23 finetuning history log display for custom fields 2011-04-19 18:50:23 +00:00
Ralf Becker
7705b25ece history log widget "knows" now about custom fields and bo_tracking optionally initialises them too 2011-04-19 15:00:49 +00:00
Ralf Becker
33bbd3465d - fixed bug in timesheet, success/error message of set category or status was not shown
- using now a single (default) action Open, which opens a timesheet to edit or view depending on rights
- added phrases "Open" and "Whole query" to API/common, as they are used in many apps
2011-04-19 09:44:25 +00:00
Ralf Becker
a88288abd4 fixed not working confirmation, after whole-query was selected and deselected (can not insert false in hidden input) 2011-04-17 21:17:47 +00:00
Ralf Becker
bb0e8617b2 enable/disable edit and delete action, based on ACL rights, set as css classes to each row 2011-04-17 20:45:21 +00:00