Commit Graph

2774 Commits

Author SHA1 Message Date
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