Ralf Becker
|
f10fc199a0
|
reverted only binding if onclick method is set to allways bind again (because eg. et2_button needs bind and fails to work) and only setting et2_clickable, if we have an onclick
|
2013-10-16 15:04:52 +00:00 |
|
Ralf Becker
|
d1a2b89815
|
only bind click event if we have a handler and add et2_clickable css class so user knows widget is clickable
|
2013-10-16 09:17:51 +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
|
b7ad0d33f8
|
Make sure onclick callback functions (specified as app.appname.funcname, or a real function) get all parameters passed, and they always can have a reference to the responsible widget
|
2013-07-19 12:36:59 +00:00 |
|
Nathan Gray
|
0c6f70005a
|
Implement some basic client-side validation (required)
|
2013-06-26 20:50:10 +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
|
d3f498f0f4
|
Avoid an error if type is missing
|
2013-05-06 17:12:45 +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
|
b802aa64a8
|
Override et2_container.destroy() to not try to remove itself from the parent, it does not have a parent
|
2013-02-08 13:25:56 +00:00 |
|
Nathan Gray
|
e5c508a609
|
Move align interface with the rest
|
2012-07-23 18:01:04 +00:00 |
|
Nathan Gray
|
b4271fdcbd
|
If onclick is still text, compile it
|
2012-06-26 22:55:39 +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 |
|
Andreas Stöckel
|
049cbd88dc
|
Now using the etemplate code from the root instance (etemplate2.js acts as a egw api plugin); fixed egw.json plugins; fixed problem with 'instanceof Object', which does not work when sharing code over multiple windows
|
2012-03-06 13:22:01 +00:00 |
|
Nathan Gray
|
7297e02f39
|
Get some buttons working in nm. Not quite done yet, only buttons with onclick function working
|
2011-09-21 21:07:21 +00:00 |
|
Nathan Gray
|
2302de28f2
|
Add some et2_IDetachedDOM handling
|
2011-09-14 20:52:59 +00:00 |
|
Nathan Gray
|
5947d0a481
|
Fix typo
|
2011-08-25 22:13:54 +00:00 |
|
Andreas Stöckel
|
53f4064cdc
|
Added some naming scheme to the js files
|
2011-08-24 10:18:07 +00:00 |
|