Nathan Gray
|
b7487f8b72
|
Avoid double-binding change & focus handlers
|
2013-11-13 18:17: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 |
|
Ralf Becker
|
3c0743cb97
|
implemented onfocus event for input-widgets, tested with textbox and taglist, others more complex input-widgets probably need to proxy the event
|
2013-10-09 09:05:30 +00:00 |
|
Ralf Becker
|
b7d6d4266e
|
quite some warning
|
2013-10-07 16:11:25 +00:00 |
|
Nathan Gray
|
5d1a8e16ee
|
Fire change event when input is changed via code
|
2013-10-04 10:07:34 +00:00 |
|
Nathan Gray
|
b6ea2635d2
|
Handle onchange in the same way as onclick - check if it's a real function first
|
2013-10-01 17:03:03 +00:00 |
|
Nathan Gray
|
e2bc78b9e3
|
Make sure we don't lose widget context
|
2013-10-01 15:31:11 +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 |
|
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
|
4e947b304c
|
Don't complain about read-only required fields
|
2013-07-10 18:25:28 +00:00 |
|
Nathan Gray
|
54eb53cdba
|
When setting a validation error for a widget on a tab, switch to that tab so the user can see it.
|
2013-07-08 21:55:38 +00:00 |
|
Nathan Gray
|
ab3fbd56bd
|
Promote label attribute from inputWidget to parent valueWidget, fixes missing labels on some readonly widgets
|
2013-07-04 20:42:21 +00:00 |
|
Nathan Gray
|
0c6f70005a
|
Implement some basic client-side validation (required)
|
2013-06-26 20:50:10 +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
|
fa69637b82
|
Silence some warnings, mostly about attributes
|
2012-07-23 23:54:16 +00:00 |
|
Andreas Stöckel
|
df06f6657c
|
Now always including egw and etemplate2 javascript code if we are in the top window
|
2012-03-08 14:05:00 +00:00 |
|
Andreas Stöckel
|
e4ed4399cf
|
Attempt of fixing legacy JavaScript functions, only tested for simple cases
|
2012-03-06 15:26:11 +00:00 |
|
Nathan Gray
|
ea406d3e85
|
Fix deleteDOMNode() -> removeDOMNode(), fixes labels for selectboxes, probably others
|
2011-10-12 16:37:56 +00:00 |
|
Nathan Gray
|
29501fc027
|
Add set_value() so selectbox can show current value
|
2011-09-26 16:01:42 +00:00 |
|
Andreas Stöckel
|
87c0db7be1
|
Fixed correct expanding of names and implemented the dataProvider class
|
2011-09-08 18:36:09 +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 |
|