Commit Graph

2853 Commits

Author SHA1 Message Date
Nathan Gray
9248942e9f idots theme needs to use window, since the parent might not be full height either 2013-05-28 17:11:35 +00:00
Nathan Gray
25a6b2bda2 Update internal options 2013-05-28 15:43:35 +00:00
Nathan Gray
681be3af08 I guess template needs to stick around, even though it's freed 2013-05-27 23:34:14 +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
7c7e100842 Properly remove template so it's not still a child 2013-05-27 23:22:31 +00:00
Nathan Gray
7f669bc5f0 Save a jQuery call by just passing the row to remove 2013-05-27 23:21:13 +00:00
Nathan Gray
68b4d0e975 Don't try to fill the window, just the parent 2013-05-27 23:12:40 +00:00
Nathan Gray
f08af9d467 Fix splitter by setting no overflow 2013-05-27 16:58:24 +00:00
Nathan Gray
89fe4531e2 Make sure actions get set when a leaf is refreshed 2013-05-27 15:51:18 +00:00
Ralf Becker
cd7b9b0910 return (protected) array with validation errors instead of just the count 2013-05-25 17:18:43 +00:00
Ralf Becker
50ed435eb7 * Calendar/InfoLog/Timesheet/Tracker/ProjectManager: edit focuses now automatic on title input 2013-05-23 09:01:33 +00:00
Nathan Gray
e8a21565ab First run at a new home app. Just structure so far, more to come. 2013-05-22 20:13:12 +00:00
Nathan Gray
44f4e1ba3b Silence permanent debug 2013-05-22 19:30:31 +00:00
Nathan Gray
753ba3b006 Remove debug 2013-05-22 19:29:42 +00:00
Nathan Gray
092493a065 Look for content / modifications inside the current name space as well, if the widget can create its own namespace 2013-05-22 18:13:37 +00:00
Nathan Gray
100c706674 Add an additional condition to check in case the template file is not recognized as XML, and try to parse it 2013-05-22 18:11:41 +00:00
Nathan Gray
f451b65557 Use refresh method for more intelligent updating 2013-05-22 18:10:26 +00:00
Nathan Gray
173d2ad374 Fixes to actions, to better support changing after initial creation 2013-05-21 20:24:40 +00:00
Nathan Gray
f53a90ccdf Update in-code documentation to match code 2013-05-21 20:23:35 +00:00
Nathan Gray
08ac429774 Sort browser's widget list, so you can find widget you're looking for 2013-05-21 20:22:51 +00:00
Klaus Leithoff
6e1e86123f add basic refreshItem function; TODO: need to implement the refreshing of the actions 2013-05-21 08:33:16 +00:00
Klaus Leithoff
c6164973ae fix bug regarding the missing of all tree actions after leaf deletion 2013-05-17 13:30:43 +00:00
Ralf Becker
c496516f19 re-added ability to use $sel_options["something[else]"] removed in last commit "compatibility with eT2" 2013-05-15 13:22:53 +00:00
Klaus Leithoff
4c4a05e426 control resizing for IE10 under Windows8 2013-05-14 13:22:30 +00:00
Klaus Leithoff
090f8b134e delete a leaf of the tree 2013-05-13 14:40:44 +00:00
Ralf Becker
85a198d9e6 fixed id check, causig it not to use options given for id=0 2013-05-13 11:59:09 +00:00
Ralf Becker
8cebfe3339 some more docu for tree-widget and allow to use autoloading-url for initialisation too 2013-05-12 13:09:20 +00:00
Ralf Becker
8f52e2ca3c fixed fatal error in soetemplate called by editor, if etemplate is switched to etemplate_new 2013-05-11 09:25:32 +00:00
Nathan Gray
e9a5f7e09c Add values for tabs, and make sure dynamic tab values are passed 2013-05-10 20:39:12 +00:00
Ralf Becker
489978d590 use either tab definition from xml or tabs defined via setElementAttribute($id, tabs, array $tabs), also allow that for old eTemplate 2013-05-09 09:28:27 +00:00
Nathan Gray
73f1cd921b Use new dialog to confirm favorite deletion 2013-05-09 04:05:03 +00:00
Nathan Gray
eaa100921c Fix preferred favorite not being saved 2013-05-06 21:34:47 +00:00
Nathan Gray
c5c4d92d09 Make sure activeFilter gets set during init 2013-05-06 20:58:59 +00:00
Nathan Gray
43d0128fb6 Update action/leaf id when renaming 2013-05-06 20:03:14 +00:00
Nathan Gray
57d6132a37 Actually use template attribute when provided 2013-05-06 17:36:37 +00:00
Nathan Gray
8a2259ae99 Enhance tab widget's 'tabs' attribute to include hidden, and id to access content array 2013-05-06 17:17:52 +00:00
Nathan Gray
d3f498f0f4 Avoid an error if type is missing 2013-05-06 17:12:45 +00:00
Ralf Becker
1b3c934823 a few compatbility methods and hacks to get old etemplates to behaves a bit more like eT2 2013-05-03 11:50:40 +00:00
Ralf Becker
005d5ed090 value of description set via id need to get translated, if !no_lang is set, value set via value attribute already get translated via transformAttributes and translate: "!no_lang" of value 2013-05-03 11:46:26 +00:00
Nathan Gray
42fd3fe37b Implement optgroups for select widget 2013-04-29 18:36:48 +00:00
Klaus Leithoff
8913df2366 remove console logging on focused 2013-04-29 14:59:55 +00:00
Klaus Leithoff
efd4d85143 add rename of an item. caveat, does not rename dependent leafs yet 2013-04-29 14:58:29 +00:00
Ralf Becker
5eede4a8ef allow to use <widget type="${row}[type]"/> in xet files 2013-04-28 12:43:18 +00:00
Ralf Becker
947511779a _atts["select_options"] is not null but {} 2013-04-28 12:42:13 +00:00
Ralf Becker
26c66d12d7 create static method etemplate_widget_menupopup::fix_encoded_options(), so apps can call that for cases it is not called automatically (eg. autorepeated rows) 2013-04-28 12:39:58 +00:00
Nathan Gray
4759d19d25 Fix nextmatch hierarchy display 2013-04-24 19:53:51 +00:00
Ralf Becker
78449edd4c some css for new dialog: left aligning buttons as everywhere in EGroupware, auto-size dialog, static show_prompt method to display a prompt, fixed not working translation of standard buttons 2013-04-23 16:51:00 +00:00
Nathan Gray
6f124f4b10 When nm loads data, make sure selection is still shown 2013-04-23 15:34:47 +00:00
Nathan Gray
516872e322 Fix custom buttons with no template not working 2013-04-22 22:56:55 +00:00
Nathan Gray
5e84ddd935 Change admin column selection to allow setting / clearing / forcing column selection 2013-04-22 22:32:40 +00:00
Nathan Gray
fc727570dd Implement set_value() on file widget - you can't really set file upload values programmatically to anything that makes sense, but it can be cleared 2013-04-22 16:52:03 +00:00
Nathan Gray
bd6c23298b Change ODS file line break tag from <text:line-break> to </text:p><text:p> so it works in LibreOffice 2013-04-22 15:25:19 +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
Ralf Becker
28aab234a7 fixed space instead of tabs 2013-04-20 19:20:51 +00:00
Ralf Becker
f814b6077e reverting accidently commited default to et2 2013-04-20 12:21:22 +00:00
Ralf Becker
cd024eef1b add nice link overlay icon to vfsMime widget (for symlinks) 2013-04-20 12:19:27 +00:00
Ralf Becker
a14ede7587 added @memberOf to get outline 2013-04-20 09:51:52 +00:00
Nathan Gray
5555edcb98 Add dialog widget 2013-04-16 18:50:43 +00:00
Nathan Gray
b66a74ff03 Make currently browsed widget available for console playing as window.wb_widget 2013-04-16 18:48:06 +00:00
Nathan Gray
0ae58e39de Load jquery-ui css before ours, so we can override it 2013-04-16 18:46:23 +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
Nathan Gray
a4395a8000 If a specific template name is not provided, use the last template in the file 2013-04-16 18:42:53 +00:00
Nathan Gray
d58a3128e7 Some checking to make sure variables are there, and avoid errors 2013-04-16 18:40:38 +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
Ralf Becker
5a4850b2ed fixed not correctly displayed file type: need to compare with bitmask after and-ing it 2013-04-13 09:46:00 +00:00
Ralf Becker
34dd94dc76 fixed set_(ro_)image to set the according option and update current image, new method set_readonly updating readonly attribute and current image 2013-04-12 17:19:18 +00:00
Nathan Gray
027bcc53d1 Enable drop on nextmatch rows 2013-04-12 17:05:35 +00:00
Nathan Gray
4c692102a2 Common styling for et2 containers, regardless of ID 2013-04-12 16:29:40 +00:00
Nathan Gray
c85582180a Avoid an error in the destruction by checking for widget 2013-04-12 16:28:52 +00:00
Nathan Gray
41d34f84a2 Set a class for common CSS 2013-04-12 16:28:11 +00:00
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