Commit Graph

34 Commits

Author SHA1 Message Date
Nathan Gray
ac653d6c9a Set top level owner to top level widget.
Fixes error if read-only expansion runs off the top of the tree, and no owner found.
2014-02-19 00:28:38 +00:00
Ralf Becker
6a1b0e846d fix javascript error if data not available 2014-02-17 14:53:53 +00:00
Ralf Becker
a861f16565 log error-message not error-object (which get logged as {}) 2014-02-17 13:10:20 +00:00
Ralf Becker
e60294fdf4 temp. workaround to get calendar conflicts working again, see my.stylite.de #6343 2014-02-14 09:53:34 +00:00
Ralf Becker
082f3242ee fix Syntax error while parsing "You can use $$start$$ for the above start date and $$end$$ for the end date." at 13, expected variable identifier and fixed IDE warnings 2014-02-12 19:32:34 +00:00
Nathan Gray
e314011e88 Harmonize readonlys processing, fixes some fields in grids not validating if other rows were read-only.
- Change server-side get_array() to return null if not found, matches client side getEntry() and allows us to tell the difference between false and not found
- Change server-side is_readonly() to properly consider expansion & sub-arrays
- Fix client side et2_readonlysArrayMgr to properly consider expansion & sub-arrays
2014-02-10 21:59:50 +00:00
Nathan Gray
70b4ff412c Avoid errors if row_cont is null, just use an empty array 2013-11-13 19:25:10 +00:00
Nathan Gray
34e5d01de4 Allow access to current namespace content with {$_cont[...]}, since {$cont[...]} goes to the root
(this might not be the best, but I can't figure out a better way with the compiled expressions)
2013-10-30 17:16:20 +00:00
Nathan Gray
3298e69d92 Change some more regexes to match all 2013-10-21 15:16:12 +00:00
Hadi Nategh
2445bfc22b Fix the regular expresion to get the right key for nested Ids using [], textbox_widget 2013-10-01 15:06:56 +00:00
Nathan Gray
bfef97c8fc Documentation correction 2013-09-09 18:42: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
96d27aefc4 Fix - should always be top level of content 2013-04-10 11:05:20 +00:00
Nathan Gray
2809b52d4d Downgrade no data error to a log, enhance message to include most likely cause 2013-02-08 08:32:17 +00:00
Nathan Gray
bbfcb19ab8 Fix so namespaces work even without content data 2013-02-05 12:55:01 +00:00
Nathan Gray
1049474cd9 Get customfield-type working again 2012-05-07 17:40:59 +00:00
Nathan Gray
b240e9eea5 Avoid accidental matches on native object functions (filter, map, etc.) 2012-04-04 20:56:09 +00:00
Nathan Gray
545ffcf34e Expand name even if not in a row ([...]) 2012-03-29 15:13:56 +00:00
Nathan Gray
04fe78762f Don't try to split integer keys (auto-repeat rows) 2012-03-21 21:23:12 +00:00
Nathan Gray
04ced6e464 Make sure correct type is created when opening perspective 2012-03-20 17:41:09 +00:00
Nathan Gray
6426b2d2db Get selectboxes inside datagrid working 2012-03-13 23:02:21 +00:00
Nathan Gray
7d781a56a4 Don't try to go into a null entry 2012-03-13 16:19:22 +00:00
Nathan Gray
9a0948f6fb More detailed error messages 2012-03-07 22:55:02 +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
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
Nathan Gray
26c888ccd4 Encode square brackets and split names at ][, not just [ 2011-11-14 22:57:06 +00:00
Nathan Gray
428d201179 Use getEntry() as fallback for text roots 2011-10-17 21:01:04 +00:00
Nathan Gray
ed76f0491e Expand sub-arrays that are indexed by form-name ('a[b][c]') into actual sub-arrays so perspectives work properly 2011-10-06 23:08:15 +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
b1223cb426 Expressions in the dataview-rows are now evaluated correctly 2011-09-07 16:59:23 +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
Andreas Stöckel
d037187234 Added code for creating widget-rows in the dataview 2011-09-05 14:35:28 +00:00
Nathan Gray
131a032da6 Fix regexp - no match() function, switched to test() 2011-08-30 21:36:55 +00:00
Andreas Stöckel
53f4064cdc Added some naming scheme to the js files 2011-08-24 10:18:07 +00:00