Commit Graph

32 Commits

Author SHA1 Message Date
Hadi Nategh
4373545152 Fully clear existing ActionObject before re-using it. Fixes context menu missing after close & re-open home tab. 2015-02-11 10:35:05 +00:00
Ralf Becker
14a7dd38f3 style tile-view to show images on whole tile with file-name and comment on hover only 2015-01-21 18:59:12 +00:00
Nathan Gray
323d276fa6 Slight performance improvement on rendering elements with many children. 2014-12-08 20:38:48 +00:00
Hadi Nategh
e8d1c874e6 Implement resize handler callback for widget in order to resize widget properly after the window size changes 2014-12-04 16:38:34 +00:00
Nathan Gray
c16bb0c647 Make sure to use correct parent ObjectManager when destroying.
Should fix "Action object with id ... does not exist" errors.
2014-09-30 16:52:42 +00:00
Nathan Gray
6ec24b1b50 Make sure app ObjectManager is there before trying to use it 2014-05-07 20:55:34 +00:00
Nathan Gray
30b300201e Clear action manager, if present 2014-05-07 14:38:44 +00:00
Ralf Becker
ac18b6cc8d changed et2_core_inheritance.js to implement ClassWithAttributes extending Class from egw_inheritance and changed et2 objects to use ClassWithAttributes when required (also fixed lots of IDE warnings / added docu) 2014-03-20 09:40:37 +00:00
Ralf Becker
06ffa47c25 new "default_execute" attribute to set default onExecute for all actions 2014-03-06 18:35:57 +00:00
Hadi Nategh
d500e4cc91 Fix actions over grid always return the last row DOMNode, by passing DOMNode to et2_action_object_impl constructor for cases like the infamous loop problem (JS closure) 2014-02-18 13:59:45 +00:00
Nathan Gray
0c5ed3aefd Log a warning if etemplate can't find a target parent DOM node (by ID) to help track down future missing widgets. 2014-02-03 16:22:27 +00:00
Ralf Becker
020058061d missing docu to fix ide warnings 2014-01-29 17:45:24 +00:00
Nathan Gray
35c70fea93 Changes to action system:
- Change selected to not start at global root - fixes key handler only working for 1 app
 - Add depth limit for finding action / object (depth first search)
 - Use depth limit when looking for top level application action/object to avoid crossing apps
2014-01-18 11:21:53 +00:00
Ralf Becker
cabb1e8b8c fixed error if this._widgetSurrondings is not defined, no idea why 2013-10-30 09:43:12 +00:00
Ralf Becker
b6013305f7 always replace dots with dashes in DOM id 2013-08-29 12:10:06 +00:00
Ralf Becker
f4e1db3a68 fixed htmlarea not returning any content caused by prefixed DOM id, now all DOMwidgets have their DOM id available via this.dom_id set via this.set_id() 2013-08-23 14:10:37 +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
Nathan Gray
1b270b2d6f Use an etemplate / top template level prefix to avoid DOM ID collisions 2013-07-17 13:08:48 +00:00
Nathan Gray
8f277e0203 If disabling (=hiding) a widget, do its label too 2013-06-12 23:14:09 +00:00
Nathan Gray
78b1fffc81 Fix spelling, avoid DOM error if you try to remove a node that wasn't added 2013-05-27 23:24:22 +00:00
Nathan Gray
173d2ad374 Fixes to actions, to better support changing after initial creation 2013-05-21 20:24:40 +00:00
Ralf Becker
28aab234a7 fixed space instead of tabs 2013-04-20 19:20:51 +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
Nathan Gray
1f754d485b Tie egw_action system into etemplate widgets - allows actions on widgets 2013-03-26 21:19:17 +00:00
Nathan Gray
ce4805ead6 Define parent_node property that allows widgets to be displayed in a specific DOM node, other than where it would go according to the template 2013-02-13 11:21:24 +00:00
Nathan Gray
834e57f9a7 Change attribute name to match what we're used to 2013-02-11 08:13:29 +00:00
Andreas Stöckel
5e9a768fb1 fixed problem with dialog overlaying infolog grid in ff 2012-03-26 14:08:57 +00:00
Nathan Gray
338b14fc9d _rebuildContainer() doesn't take parameters 2011-10-12 16:27:50 +00:00
Andreas Stöckel
d037187234 Added code for creating widget-rows in the dataview 2011-09-05 14:35:28 +00:00
Andreas Stöckel
f370f5f8ab DOM Nodes are now reinserted at their correct place after having been detached (caused bug whenn calling 'showMessage' on an element which is inside a vbox) 2011-08-26 11:15:28 +00:00
Andreas Stöckel
ec5b162bfa Moved et2 core interfaces to own file; implemented Class.free which cares about calling 'destroy', removing all references the object may hold and rendering the object unusable after 'free' has been called; added 'getMem_freeMem_trace' which helps hunting down memory leaks with objects derriving from Class; added first implementation of the nextmatch widget - currently does nothing else but rendering the header and clicking on the nextmatch_sortheader labels 2011-08-25 13:35:53 +00:00
Andreas Stöckel
53f4064cdc Added some naming scheme to the js files 2011-08-24 10:18:07 +00:00