Commit Graph

39 Commits

Author SHA1 Message Date
Nathan Gray
33a7534299 Include offending widget in attribute type mismatch warning 2013-10-10 14:52:48 +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
36b5590882 Fix wrong argument order to jQuery.proxy() 2013-07-19 12:37:47 +00:00
Nathan Gray
5b5a3ad58f Fix copy-paste error in js attribute check 2013-07-19 10:55:07 +00:00
Ralf Becker
3a14e96d1a allow to use hierarchical function names, eg. app.filemanager.upload via new et2_call function 2013-04-20 19:21:42 +00:00
Nathan Gray
4239b83bd0 Add not implemented js function type. It understands app.appname.function style arguments 2013-04-16 18:44:43 +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
cf32147cc2 Avoid an error if we try to csv_split() null 2013-03-20 16:18:53 +00:00
Nathan Gray
76644166e8 Only warn about attribute type mismatch if there is a value 2013-02-14 15:56:19 +00:00
Ralf Becker
2940e57b11 no need to generate a link, if there is no content in it, instead of displaying "-missing-" 2013-02-05 12:32:57 +00:00
Nathan Gray
d65066341b Fix some more attribute issues, silenceing some attribute warnings 2012-07-25 22:37:56 +00:00
Nathan Gray
fa69637b82 Silence some warnings, mostly about attributes 2012-07-23 23:54:16 +00:00
Nathan Gray
e88585c8e0 Implement legacy options for link-entry - lets infolog parent work 2012-04-04 20:17:38 +00:00
Andreas Stöckel
34a43e8869 Various bug fixes in the grid, implemented prefetching, workaround for performance issues regarding update, removed _lastModification 2012-03-26 15:28:02 +00:00
Andreas Stöckel
a9c1112dc1 New dataview version and integration into the nextmatch widget 2012-03-23 12:20:57 +00:00
Nathan Gray
8bc924699f More informative error message - include wrong value and possible correct options 2012-03-21 21:27:54 +00:00
Nathan Gray
f17860431a Don't try to split numbers 2012-03-15 23:15:01 +00:00
Andreas Stöckel
3287ac7286 Fixed typo 2012-03-12 13:52:32 +00:00
Andreas Stöckel
a9967f678d Displaying linebreaks for description tags 2012-03-12 13:41:10 +00:00
Nathan Gray
9a0948f6fb More detailed error messages 2012-03-07 22:55:02 +00:00
Andreas Stöckel
c0db2e36a9 Fixed a lot of problems regarding centralized JavaScript code; et2_dataview_view_resizeable is current WIP; now building etemplate2 DOM-Tree to a DocumentFragment first, which brings a significant performance gain 2012-03-07 15:33:21 +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
d310b14ecf Client side API now supports modules which are instanciated per application or per window; removed et2_debug function from et2_core_common, now using corresponding API function. 2012-03-05 13:07:38 +00:00
Andreas Stöckel
14e6ceecb6 Integrated application specifig egw api into etemplate2 code 2012-03-02 10:44:56 +00:00
Nathan Gray
ba2688f66d Fix egw::lang() processing in string js 2011-11-09 20:15:12 +00:00
Nathan Gray
9ea341151f Handle if string to be parsed is missing too 2011-10-17 16:08:34 +00:00
Nathan Gray
a09c277ae7 Log a warning if et2_insertLinkText is called without a node 2011-10-12 16:34:52 +00:00
Nathan Gray
9b7cd5019c Silence some messages about missing attribute attributes 2011-09-27 23:44:07 +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
0b41f9da89 Target text could also be a number, treat it the same as string 2011-09-15 17:51:21 +00:00
Ralf Becker
2aff9d170b implementation of old server etemplate::js_pseudo_funcs() on client as et2_js_pseudo_funcs, thought we need to pass the namespace to et2_checkType!!! 2011-09-10 13:16:40 +00:00
Ralf Becker
387be881ee egw.link(_url, _vars) method and using it for JS event handler 2011-09-09 19:41:09 +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
8d5b990826 Implemented system for fast cloning of rows in the dataview - widgets which want to support this method have to implement et2_IDetachedDOM 2011-09-06 16:50:38 +00:00
Nathan Gray
114debd00f Include the handler code that caused the error 2011-08-31 00:09:55 +00:00
Andreas Stöckel
97418ebbbb Just commiting current state of my work on the 'dataview' (grid), does NOT do anything usefull right now 2011-08-29 15:04:10 +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