Nathan Gray
|
52ab3203bd
|
Remove r44925, not needed
|
2014-01-11 12:01:45 +00:00 |
|
Nathan Gray
|
04a845fa35
|
Enhance refreshItem() to optionally take the data needed for refreshing to avoid an extra call to the server
|
2014-01-11 11:53:23 +00:00 |
|
Klaus Leithoff
|
d3e89b1095
|
attempt to implement and make use of the tree-side drag and drop; does not work out-of-the-box, at least not as attempted in mail module
|
2013-12-19 09:58:32 +00:00 |
|
Nathan Gray
|
907e9740d8
|
Change tree autoload URL to work with egw.link() instead of against it, while still giving the tree lib an absolute URL.
|
2013-12-18 17:54:28 +00:00 |
|
Klaus Leithoff
|
4c03a02926
|
attempt to implement focusItem, to be able to scroll to a selected Item automatically; implement wrapper for hasChildren from dhtmlXTree API
|
2013-12-09 16:00:15 +00:00 |
|
Nathan Gray
|
7148a1f274
|
Fix broken tree by removing extra line - was not supposed to be there
|
2013-12-03 21:37:50 +00:00 |
|
Nathan Gray
|
398a8eed25
|
Event handler attributes:
- default to et2_no_init so they don't get processed if not set
- remove some duplication in attributes
|
2013-10-10 13:17:07 +00:00 |
|
Ralf Becker
|
0163442f37
|
changed signature of on* event handlers: 1. event, 2. widget (context is DOM node), event handlers have now type "js" in attribute description and get automatic converted to a function, no more need to call et2_compileLegacyJS
|
2013-10-09 14:35:03 +00:00 |
|
Nathan Gray
|
eec6791213
|
Silence some missing attribute settings warnings and fix warning about not loading app.js when it was already loaded
|
2013-08-14 18:01:22 +00:00 |
|
Klaus Leithoff
|
a69df51eaa
|
as insertObject (called by treeObj.addObject) expects id to be either string or object, we cast the option.id in case its a number
|
2013-08-01 09:54:32 +00:00 |
|
Ralf Becker
|
f0808f09af
|
fixed action _target.id was id of tree and not of action
|
2013-07-22 06:34:01 +00:00 |
|
Ralf Becker
|
74cb73d2d2
|
moved most action "comfort" functions (with exception of nm_action and pagination) from server-side nextmatch class to client-side egwActions.updateActions() method, so they are available for all widgets
|
2013-07-20 13:45:22 +00:00 |
|
Ralf Becker
|
98f13d3e55
|
new method to specify images of a given node or standard images for new node (not specifying them), fixed merging of dynamicly loaded data, which was not taking recursive struture into account and -1 as id to update, using new id of new data in that case
|
2013-07-02 18:24:32 +00:00 |
|
Ralf Becker
|
ffceaf445a
|
prototype for an admin app using et2 and a navigation tree, need to set index url in database: UPDATE egw_applications SET app_index="admin.admin_ui.index&ajax=true" WHERE app_name="admin" (dont forget to clear cache)
|
2013-07-01 17:07:07 +00:00 |
|
Nathan Gray
|
d5b289e894
|
Add a global ajax callback so the et2 widget can stay in sync with the dhtmlxtree
|
2013-06-03 16:32:45 +00:00 |
|
Nathan Gray
|
e2d6d9a65d
|
Change some indenting
|
2013-05-29 19:12:14 +00:00 |
|
Nathan Gray
|
25a6b2bda2
|
Update internal options
|
2013-05-28 15:43:35 +00:00 |
|
Nathan Gray
|
89fe4531e2
|
Make sure actions get set when a leaf is refreshed
|
2013-05-27 15:51:18 +00:00 |
|
Klaus Leithoff
|
6e1e86123f
|
add basic refreshItem function; TODO: need to implement the refreshing of the actions
|
2013-05-21 08:33:16 +00:00 |
|
Klaus Leithoff
|
c6164973ae
|
fix bug regarding the missing of all tree actions after leaf deletion
|
2013-05-17 13:30:43 +00:00 |
|
Klaus Leithoff
|
090f8b134e
|
delete a leaf of the tree
|
2013-05-13 14:40:44 +00:00 |
|
Ralf Becker
|
85a198d9e6
|
fixed id check, causig it not to use options given for id=0
|
2013-05-13 11:59:09 +00:00 |
|
Ralf Becker
|
8cebfe3339
|
some more docu for tree-widget and allow to use autoloading-url for initialisation too
|
2013-05-12 13:09:20 +00:00 |
|
Nathan Gray
|
43d0128fb6
|
Update action/leaf id when renaming
|
2013-05-06 20:03:14 +00:00 |
|
Klaus Leithoff
|
efd4d85143
|
add rename of an item. caveat, does not rename dependent leafs yet
|
2013-04-29 14:58:29 +00:00 |
|
Ralf Becker
|
e64c4fbd04
|
add some JSDoc so Eclipse shows an outline: @memberOf and @augments (not yet understood by Eclipse), also fixed many warnings (mostly missing semicolons)
|
2013-04-13 19:00:13 +00:00 |
|
Klaus Leithoff
|
0de87f5711
|
introduce getLabel function on tree-widget
|
2013-04-10 12:32:07 +00:00 |
|
Nathan Gray
|
1f754d485b
|
Tie egw_action system into etemplate widgets - allows actions on widgets
|
2013-03-26 21:19:17 +00:00 |
|
Nathan Gray
|
562ffe972f
|
Fix some destructors
|
2013-03-18 20:52:41 +00:00 |
|
Ralf Becker
|
5c6f6471f3
|
implemented "autoloading" attribute for tree via JSON callback with GET parameter "selected" containing node-id
|
2013-02-20 12:03:21 +00:00 |
|
Klaus Leithoff
|
41a2653679
|
sets the label of a node of a tree, within by the treewidget
|
2013-02-19 12:58:32 +00:00 |
|
Klaus Leithoff
|
8d96aab8fd
|
get all open nodes of a tree, represented by the treewidget
|
2013-02-19 10:42:36 +00:00 |
|
Nathan Gray
|
099252e327
|
Enable drop actions on tree widget
|
2013-02-15 15:52:49 +00:00 |
|
Klaus Leithoff
|
6a0305b849
|
open single node on select pf a single node as well, as we do with multiple nodes
|
2013-02-13 15:33:00 +00:00 |
|
Klaus Leithoff
|
5337cc83d2
|
some wrapper functions to retrieve the label of a selected node, and to retrieve the selected node itself
|
2013-02-13 12:50:18 +00:00 |
|
Nathan Gray
|
9181d6c526
|
Only do fancy parsing for category tree
|
2013-02-11 15:16:23 +00:00 |
|
Ralf Becker
|
763279562c
|
fixed event handling in tree, added tree specific onSelect and onCheck events, implemented !multiple mode and fixed dhtmlxtree to not trigger onSelect if selection is change via set_value (according to their documentation)
|
2013-02-08 13:23:58 +00:00 |
|
Nathan Gray
|
e094b35394
|
Get nextmatch_customfilter working
|
2013-02-07 14:36:19 +00:00 |
|
Nathan Gray
|
0effc3a229
|
Tree now looks like it works
|
2012-03-07 23:17:49 +00:00 |
|
Nathan Gray
|
548ac686d8
|
Work in progress on tree
|
2012-03-07 00:30:47 +00:00 |
|