Commit Graph

2733 Commits

Author SHA1 Message Date
Nathan Gray
b994f33825 Nextmatch onselect attribute understands app.appname.function directly, and passes nextmatch reference & list of ids 2013-04-12 10:33:29 +00:00
Ralf Becker
abee7bc2a1 allow to permanently use etemplate_new for ported applications no longer supporting old etemplate, while still having etemplate default to etemplate_old 2013-04-12 09:50:27 +00:00
Ralf Becker
fa3f1c5055 ro version of vfs-name to behave like ro textbox (span instead of r/o input), also commented socket perm as it is set for dirs too (and we have no sockets in vfs) 2013-04-12 09:39:37 +00:00
Ralf Becker
4a26ad18c0 fixed whitespace (8 space instead tab) 2013-04-12 09:38:12 +00:00
Nathan Gray
7f80c74b59 Add onselect attribute for nextmatch 2013-04-12 09:28:42 +00:00
Nathan Gray
8192f13b3b Fix typos preventing some drops 2013-04-11 12:22:34 +00:00
Nathan Gray
8a6bba9ffe Give the et2 container an ID matching the loaded template name 2013-04-11 11:25:28 +00:00
Ralf Becker
0f72fba1b3 display #msg or .message like before in red and italics 2013-04-11 10:34:13 +00:00
Nathan Gray
9afe55bfae Have to read repository, not just create the object, or I get inconsistencies 2013-04-10 16:47:02 +00:00
Nathan Gray
79c09ec5cd Use LABjs to make sure everything is loaded 2013-04-10 16:03:58 +00:00
Nathan Gray
d996a3445f Fix et2_ready() when app called via ajax 2013-04-10 16:03:31 +00:00
Ralf Becker
ee65e7ae28 also need to re-assemble image options, as I cant edit/remove them in editor 2013-04-10 15:46:38 +00:00
Nathan Gray
64c03e772d CSS fixes - sidebox favorite spacing & nextmatch border 2013-04-10 15:25:40 +00:00
Nathan Gray
bb44a6ce26 Fix dynheight case when there is no space between dynheight & items below 2013-04-10 15:17:18 +00:00
Nathan Gray
c0e0982b0e Implement hide_header,header_left & header_right attributes 2013-04-10 14:09:55 +00:00
Ralf Becker
3fa9169f83 only have nextmatch-header "box" around the filters 2013-04-10 14:05:01 +00:00
Ralf Becker
28428c3aa0 make header_left/right a legacy option for nextmatch widget, allowing to specify it in template and therefore display them in editor 2013-04-10 13:26:04 +00:00
Nathan Gray
b171acf19a Don't try for default, causes error if add is not valid 2013-04-10 13:15:49 +00:00
Klaus Leithoff
0de87f5711 introduce getLabel function on tree-widget 2013-04-10 12:32:07 +00:00
Nathan Gray
0516d2cc2a If value is available in the constructor, set it there 2013-04-10 12:10:04 +00:00
Ralf Becker
40acef68b6 show disabled templates in editor 2013-04-10 11:47:11 +00:00
Nathan Gray
96d27aefc4 Fix - should always be top level of content 2013-04-10 11:05:20 +00:00
Nathan Gray
fdada6c3c0 Fix typo in missing JS object warning 2013-04-10 10:10:14 +00:00
Nathan Gray
4de7d2f432 Add a warning if application js object was not loaded 2013-04-10 10:05:17 +00:00
Nathan Gray
48d6204f29 Skip blank legacy options sooner 2013-04-10 09:39:36 +00:00
Nathan Gray
ec1ad6f09e Change splitter preference saving to save on mouseup 2013-04-10 09:25:05 +00:00
Nathan Gray
4c54745cbb Allow favorites from multiple apps to coexist 2013-04-10 08:00:31 +00:00
Klaus Leithoff
09f00a31a5 fix ckeditor area 2013-04-09 11:50:14 +00:00
Nathan Gray
978a90852c Add a base object for application javascript code to contain it, and solve initialization timing issues 2013-04-09 08:45:59 +00:00
Nathan Gray
cd0356219c Add some missing attribute attributes 2013-04-09 07:22:35 +00:00
Nathan Gray
af43412921 Fix editor to still work with existing basic widgets 2013-04-08 14:31:43 +00:00
Nathan Gray
715d45a2c1 Add very basic support for et2 widgets into editor, to at least not destroy templates 2013-04-08 14:06:01 +00:00
Nathan Gray
fd41f7e4bc In the rare case where the app specifies both select options in both the sel_options and the nextmatch options-name, try to avoid overwriting 2013-04-08 13:18:27 +00:00
Ralf Becker
ed76aa43e2 removed old code used to run etemplate without javascript, not working anymore and causing it now to fail after Nathans changes 2013-04-03 08:37:28 +00:00
Ralf Becker
81752aa4d5 using ege.LAB.wait for popup_resize() 2013-04-03 07:52:23 +00:00
Nathan Gray
b9a43091dc Fix problem with false/0 values failing validation 2013-04-02 22:57:09 +00:00
Nathan Gray
e8c9a1ecde LABjs wait to initialize actions until all files are there 2013-04-02 20:31:22 +00:00
Nathan Gray
ef2a5d377d Use LABjs throughout framework to load javascript - prevents a lot of undefined / timing errors 2013-04-01 19:14:52 +00:00
Nathan Gray
bdb148d167 Make sure widgetContainer is initialized before loading, prevents timing problems 2013-04-01 18:35:49 +00:00
Nathan Gray
3623ee6e72 Don't try to submit if the action is not a context menu (eg: drag, drop) 2013-04-01 18:19:59 +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
c55e636f43 Catch error from missing ckeditor stuff so it doesn't break everything else 2013-03-26 15:54:18 +00:00
Nathan Gray
61ef8de61e Missed call to _super.destroy() 2013-03-26 15:47:31 +00:00
Nathan Gray
fbd81e6aa9 Fix 'undefined' in read only selectboxes when value was not in list of options 2013-03-25 23:00:25 +00:00
Nathan Gray
fc0b2d1e8a Look for cat_id options in parent(global) sel_options manager too 2013-03-25 22:59:48 +00:00
Nathan Gray
0c017a4b35 Don't error if ckeditor adapter is missing, just fall back to text 2013-03-25 22:22:53 +00:00
Nathan Gray
d361206090 Always send app:id or just id from nextmatch_entryheader, instead of seperated properties 2013-03-25 22:04:10 +00:00
Nathan Gray
e6cfe7a505 Accept modifications where the value evaluates to false 2013-03-25 21:46:18 +00:00
Nathan Gray
3c651a38e0 Sort out customfilter options conflict 2013-03-25 21:43:35 +00:00
Nathan Gray
d394cca06f Avoid some init / destroy errors in color picker popup 2013-03-25 19:39:02 +00:00