Commit Graph

186 Commits

Author SHA1 Message Date
nathangray
473fa38969 Avoid errors if select options are not strings.
Happens with accounts, which can be integers
2016-05-26 15:34:54 -06:00
nathangray
5774bf9d5a Do not try to hide the input if not there - it causes an exception, stopping the template from loading 2016-05-25 16:54:08 -06:00
nathangray
2ffcdf5dc9 Also take grid border width into account - should help with nm width in Firefox.
See d290485058
2016-05-18 13:56:29 -06:00
nathangray
fb8612f9fd Fix postSubmit() - fixes broken document merging 2016-05-16 16:55:55 -06:00
nathangray
65c43ba6f0 Implement set_filter() & set_filter2() to allow application code to change filter & filter2 values, and have them updated in the client UI 2016-05-16 16:30:27 -06:00
nathangray
bb7528af20 Revert changes to nextmatch-filterheader & nextmatch-accountfilter? 2016-05-16 09:31:56 -06:00
nathangray
63d9cfbd41 Move filterheader using taglist to its own widget, nextmatch-taglistheader, and revert changes to nextmatch-filterheader & nextmatch-accountfilter 2016-05-16 09:07:08 -06:00
Ralf Becker
2cbe626fed fix not working (documented) widget attribute "extra_link_title" by using regular "statustext" 2016-05-16 16:23:27 +02:00
Ralf Becker
2d69c1b28b Merge branch 'master' of github.com:EGroupware/egroupware 2016-05-14 13:00:18 +02:00
Ralf Becker
5be1075f26 move empty.html used for autocomplete to api/templates/default/, as $app/src/ will not be available for direct requests 2016-05-14 12:38:31 +02:00
Hadi Nategh
ad691a7690 Fix et2_link_entry input autocomplete 2016-05-13 20:21:10 +02:00
Hadi Nategh
4b0bc10900 Fix taglist widget:
- Fix taglist single styling
- Fix toggle to single not working when there're multiple selected
2016-05-13 18:44:37 +02:00
Nathan Gray
eea3aac80d Fix up the filterheader sizing to better fit in the nm header 2016-05-11 20:14:14 +00:00
Nathan Gray
da4fd02a7f If there are 2 or less options for a filterheader, disable multiple toggle 2016-05-11 19:56:06 +00:00
Hadi Nategh
d290485058 Nm resize fix:
- Fix dataview grid resize not taking care of category color border
- Fix Category borders make headers misaligned
2016-05-11 16:33:54 +00:00
Nathan Gray
5dc798da7f Fix customfield column sometimes disappearing from print 2016-05-10 17:12:39 +00:00
Nathan Gray
4dd1fd6368 Set a default of 3 rows for filterheaders to avoid vertical scroll in header 2016-05-09 19:38:31 +00:00
Nathan Gray
457e05d920 Change filterheaders to extend taglist instead of select 2016-05-09 19:17:04 +00:00
Ralf Becker
df6060f594 move eT2 templates to api, fixes cant create a directory in filemanger in minimal install 2016-05-05 18:23:52 +00:00
Ralf Becker
4af0e7cb1c WIP EGroupware without phpgwapi&etemplate 2016-05-04 19:07:54 +00:00
Nathan Gray
d7eb464605 Hide unit label if there is no value 2016-05-04 18:01:20 +00:00
Nathan Gray
00d668f6d5 Fix bad day unit label in readonly duration 2016-05-04 17:59:58 +00:00
Nathan Gray
0ecf39a722 Properly handle nextmatch columns where the width is not set 2016-05-04 15:48:58 +00:00
Hadi Nategh
8e92a42c65 Implement set_disabled for select widget with tags enabled 2016-05-04 14:29:44 +00:00
Nathan Gray
d2717517ec If the total width of the columns is greater than what is available, distribute the shortage across fixed width columns 2016-05-03 20:55:39 +00:00
Ralf Becker
429177686a make home a regular application, which can eg. disabled, incl. moving all services using "home" as appname to "api" and moved some other forgotten stuff from phpgwapi&etemplate to api 2016-05-01 09:57:48 +00:00
Ralf Becker
9aac672e8f use Grunt&cssmin to minify CSS files, moved diverse conditional includes into etemplate2.css, as we anyway include all widgets from api 2016-04-30 09:29:54 +00:00
Nathan Gray
766dd31d16 Only allow printing custom fields if they're already selected (and loaded) 2016-04-29 16:35:00 +00:00
Hadi Nategh
1bf2ab4016 Implement enable/disable quantity base on participant's value type 2016-04-29 08:40:55 +00:00
Hadi Nategh
225f3a4576 Fix taglist-cat multiple ignores multi selection on set value 2016-04-28 08:34:57 +00:00
Nathan Gray
523edb57c3 Fix customfield columns do not always come back after print 2016-04-26 18:58:54 +00:00
Hadi Nategh
76106188dc Still let the selected tab be minimized by clicking on "-" button for v-tabs 2016-04-26 16:38:38 +00:00
Hadi Nategh
c376aab408 Fix active tab does not work on vertical aligned tabs 2016-04-26 15:01:12 +00:00
Ralf Becker
7e358fe5ad removed not working typeof value == "array" 2016-04-25 20:05:53 +00:00
Nathan Gray
7baf298bf7 Keep value if et2 tried to set it before select_options were there, and it got stripped out 2016-04-25 20:02:58 +00:00
Nathan Gray
f58ef2980f When select options change and we have tags turned on, update chosen 2016-04-25 19:37:37 +00:00
Ralf Becker
06c4b2db23 use new et2 site config 2016-04-25 15:57:38 +00:00
Ralf Becker
220aacf48b no longer allow to use lang syntax %1 in eT2 instead of native %s, as it does not allow to use %1 and costs unnecessary performance 2016-04-25 15:15:02 +00:00
Nathan Gray
2513fcb7d7 - For print column dialog don't check individual customfields if no customfields are selected
- Fix afterPrint failing if columnselection preference had no nextmatch prefix
2016-04-25 14:49:59 +00:00
Ralf Becker
8a96e97684 keep an array for options, do not convert them to an object 2016-04-25 08:26:44 +00:00
Ralf Becker
a9eba441d7 fix autorepeated id "cat[3]" would pick array element 3 from cat 2016-04-23 16:11:28 +00:00
Hadi Nategh
f77f52d77d Stay focused after item selection to get ready for next selection and avoiding two clicks 2016-04-21 10:45:19 +00:00
Nathan Gray
e869788263 Prompt for columns to print as well as row count when printing a nextmatch 2016-04-20 23:05:43 +00:00
Nathan Gray
1019046a0d - Avoid changing content manager select options when reading from template tags
- More checking with namespaced select options to avoid grabbing all children of a parent namespace
2016-04-20 21:20:36 +00:00
Ralf Becker
22701ce83f WIP et2 based site configuration 2016-04-20 18:52:55 +00:00
Hadi Nategh
11a3b76094 Fix upload a file via et2_file widget, keep all buttons in readonly mode even if the uploading process is finished 2016-04-20 11:38:07 +00:00
Nathan Gray
da2dd3bd16 Fix error causing relative columns to have 0 width under some resize conditions 2016-04-18 22:08:41 +00:00
Hadi Nategh
0ba271d581 Enable/Disable add participants based on participant value in calendar edit 2016-04-18 13:56:47 +00:00
Hadi Nategh
bb59879064 Implement readonly for file widget. Additionally, make a generic style for readonly widgets 2016-04-18 10:37:08 +00:00
Hadi Nategh
7065f6fd2e Fix some misalignment for link_to widget, happens in FF 2016-04-14 13:48:12 +00:00
Nathan Gray
a3a0450143 Fix unable to clear nm entry headers by catching change event instead of select 2016-04-13 16:00:49 +00:00
Nathan Gray
988720340d Some more taglist issues:
- stop extremely large sizing in some cases
- make sure toggle button is correctly removed
2016-04-12 22:25:29 +00:00
Nathan Gray
c6ab38a51d Fix set_min/set_max with a full string timestamp caused a formatting error 2016-04-11 21:28:10 +00:00
Nathan Gray
d5225a8338 Change portlet header text color to contrast with selected color 2016-04-11 16:42:50 +00:00
Nathan Gray
fd3ae9f899 Fix "Cannot read property 'replace' of undefined" when setting multi-select with empty label to empty value 2016-04-11 15:59:17 +00:00
Hadi Nategh
27b9ea6640 Fix et2_file upload 2016-04-08 13:47:05 +00:00
Ralf Becker
8c87cf9dfc move egw_framework to api and refactor it 2016-04-07 20:42:06 +00:00
Hadi Nategh
d48a968674 Dialog styling W.I.P.:
- New design for link_to widget
2016-04-07 17:13:06 +00:00
Ralf Becker
2e3bd32721 moving all - non ancient ;-) - js files to api/js 2016-04-07 10:38:05 +00:00
Nathan Gray
559eb432f0 Get home working again 2016-04-06 22:16:46 +00:00
Ralf Becker
ffaeb52bce fix editing mail accounts loses imap or smtp server type caused by not correctly escaping values searched via jQuery selector 2016-04-06 14:57:44 +00:00
Ralf Becker
4591f5c8b4 fix client-side nextmatch to use select-options from get_rows data for select-widgets in newly rendered rows 2016-04-05 15:05:31 +00:00
Hadi Nategh
4d22204945 Mobile theme W.I.P.:
- Stop scrolling touch confusion from tap event
2016-04-05 14:16:18 +00:00
Ralf Becker
d890f4f1a2 storing select_options permanent when send with rows 2016-04-04 18:36:33 +00:00
Hadi Nategh
c7b576481b Set name attribute for searchbox input as it is necessary to get autocomplete working 2016-04-01 08:19:12 +00:00
Nathan Gray
0f18558682 Print function for calendar 2016-03-31 20:55:41 +00:00
Ralf Becker
ac6b0e9a94 implement et2_label_empty class for all set_label methods and remove no longer necessary label.et2_label > input[type="checkbox"], as it is covered by the standard case 2016-03-31 13:05:03 +00:00
Ralf Becker
a54f8f2a28 fix some alignment issues: always have a margin for widgets with a lable, ... 2016-03-31 09:21:55 +00:00
Hadi Nategh
b3639466a0 Add width and height options into dialog widget 2016-03-30 09:56:00 +00:00
Nathan Gray
12ca409137 When server gives taglist options via ajax, take them all. Only filter local suggestions. 2016-03-25 16:04:27 +00:00
Nathan Gray
8105b93f80 Fix cat_is_select setting was not used 2016-03-24 19:05:26 +00:00
Nathan Gray
11fbdbd34a Move gantt widget into projectmanager - remove gantt from api widget list
- Should fix some random etemplate breaking
2016-03-24 15:55:43 +00:00
Nathan Gray
63a69c03cd Move gantt widget into projectmanager 2016-03-22 21:33:58 +00:00
Nathan Gray
c871b6728d Default taglist category to need 0 characters before expanding, since we'll have the options. 2016-03-22 14:48:59 +00:00
Nathan Gray
6a2167f11b Change some inconsistent relative dates 2016-03-21 23:50:21 +00:00
Nathan Gray
b28792ffaf Better handling of missing top-level cache (happens in sitemgr) to avoid infinite loops 2016-03-21 22:25:33 +00:00
Ralf Becker
77c5102792 fixed more namespace issues found by doc/check_namespace.php I wrote and forgot about it ;-) 2016-03-21 21:21:40 +00:00
Nathan Gray
496d24592b Correctly handle optgroups in both processed & legacy forms 2016-03-21 19:56:40 +00:00
Nathan Gray
47198549f7 Fix unable to re-open datepicker after clicking 'today' 2016-03-21 19:17:11 +00:00
Ralf Becker
77624244e6 do NOT call et2_ready for dialogs with a template, as it would overwrite this.et2 in app.js 2016-03-21 15:31:02 +00:00
Nathan Gray
374cfffb89 Fix missing optgroup labels 2016-03-21 15:09:57 +00:00
Nathan Gray
fd3c729454 Fix selectbox cache - needs to be undefined if missing for subsequent processing
(broken by r55418)
2016-03-21 14:43:39 +00:00
Ralf Becker
23f07571c6 moving et2 images to api 2016-03-21 09:26:03 +00:00
Ralf Becker
df7d8c414a modified client-side to call new server-side classes in api, instead compatibility classes in etemplate 2016-03-19 16:16:59 +00:00
Ralf Becker
6af1e23b66 move et2 widget browser to api, thought link to it is currently only in old eTemplate sidebox menu 2016-03-19 15:25:32 +00:00
Ralf Becker
9b446f7c17 moving et2 js files to api 2016-03-19 13:48:07 +00:00