Commit Graph

67 Commits

Author SHA1 Message Date
nathangray
3258121a15 Api: Fix some nextmatch bugs
- default columns were not properly used if there was no user preference found
- negated column preference caused problems with column order
- missing data for sorting if no column preference set yet
2020-01-07 14:37:22 -07:00
Hadi Nategh
f5ed503502 Attach relative icons with buttons used in col-selector dialog 2020-01-06 16:07:23 +01:00
nathangray
673327da1e Revert "Api: Nextmatch - Do not generate DOM nodes for hidden columns"
This reverts commit 0f3a1660ff.
2019-12-04 09:49:21 -07:00
nathangray
0f3a1660ff Api: Nextmatch - Do not generate DOM nodes for hidden columns 2019-11-26 11:59:37 -07:00
Hadi Nategh
3c374f7803 Fix scrolling a sorting item breaks the sorting in colSelector dialog 2019-11-25 13:37:24 +01:00
Hadi Nategh
3714cbbdf2 Set a max-height to column-selector list 2019-11-20 12:37:58 +01:00
Hadi Nategh
fb20fe69dd WIP nextmatch column sorting UI:
- Give the dialog a new look
2019-11-06 16:07:48 +01:00
Hadi Nategh
2f5fa5def3 WIP nextmatch column sorting UI:
- Apply user preference after sorting saved
2019-11-06 15:12:14 +01:00
Hadi Nategh
68f7e84fa3 WIP nextmatch column sorting UI 2019-11-05 16:22:49 +01:00
nathangray
ca76e377cd Etemplate - avoid JS errors if unloading a nextmatch that didn't get properly initialized.
This can happen if the nm is set disabled via server-side modification
2019-09-16 09:46:57 -06:00
Hadi Nategh
d5b8242b19 Merge branch 'changable_column_order' 2019-07-22 11:55:15 +02:00
nathangray
f5b1b68e20 Fix missing translation on combined column titles 2019-06-05 09:15:40 -06:00
nathangray
afd1923851 Avoid error if dataStorePrefix & get_rows are not set 2019-04-17 11:34:38 -06:00
nathangray
5ca06d432d Break print dialog creation out into its own function 2019-04-05 10:21:41 -06:00
nathangray
b21b905cb4 If nextmatch is on a tab, add the tab name to the print column selection dialog 2019-04-03 15:13:19 -06:00
nathangray
bec4eb8cf1 Better way to avoid JS errors if nextmatch is disabled 2019-04-01 16:49:28 -06:00
nathangray
eb45eea505 Avoid JS errors if nextmatch is disabled 2019-04-01 16:30:53 -06:00
nathangray
b7605e2b3b Get nextmatch to render a little more nicely on a tab when it's not on the first tab 2019-04-01 16:08:39 -06:00
nathangray
1b8ce9ac33 Get nextmatch to render a little more nicely on a tab 2019-04-01 11:34:23 -06:00
Ralf Becker
f9429b7c86 restyle lettersearch: margin to column-headers and lighter border 2019-03-29 10:56:56 +01:00
Ralf Becker
fa8ee606b3 WIP admin history: using eTemplate tree instead of regexp to parse labels and selectbox values 2019-03-19 15:34:44 +01:00
Hadi Nategh
3304322c6c Revert commit 39135d8d42 and use nextmatch-customfilter instead 2019-03-14 09:51:30 +01:00
Hadi Nategh
39135d8d42 Fix Application column selection for admin queue and history 2019-03-13 10:55:48 +01:00
Ralf Becker
e313d24f99 fix old (phpgwapi) image for default export 2019-03-04 13:07:31 +01:00
nathangray
9253e5230a * Api - When printing lists ask for print orientation and size columns to fit 2019-02-25 14:14:09 -07:00
nathangray
d28c63c12e Sort nextmatch columns according to order of column selection preference 2019-02-07 15:48:34 -07:00
Hadi Nategh
7f57a4f4aa W.I.P of cats, versions or trackers categories color code 2019-02-06 18:39:24 +01:00
nathangray
4bafc12326 Remove doubled taglist header 2018-09-13 11:17:30 -06:00
nathangray
d5e0bc1615 * Addressbook - Fix bug preventing turning off letter filter after some actions 2018-07-18 13:43:32 -06:00
nathangray
658e84e59f Fix bug where nextmatch selection manager was holding onto selected rows 2018-07-16 16:17:36 -06:00
Ralf Becker
65e7c7be78 make NM lettersearch lettes translatable via phrase "ABCDEFGHIJKLMNOPQRSTUVWXYZ" 2018-01-24 10:08:55 +01:00
nathangray
331364810b Fix nextmatch returned null for getDOMNode() if no sender provided
This caused it to appear hidden to etemplate print()
2017-11-07 09:01:31 -07:00
Hadi Nategh
edf6e16996 * Addressbook: Add searching feature for distribution list filter 2017-09-26 16:57:45 +02:00
Hadi Nategh
c1950b4b1c Make path and up button always available in filemanager mobile theme 2017-02-01 13:17:39 +01:00
nathangray
4cd8b3ee08 Fix for selecbox change event not being bound in some cases (see a81fe4f, 768b6ae) 2017-01-30 09:06:42 -07:00
Ralf Becker
a81fe4f82a partial revert of 768b6ae, as filter, filter2 and cat get lost when changing a column filter 2017-01-30 09:59:56 +01:00
nathangray
8de5542803 Fix nextmatch category, filter & filter2 selectboxes did not listen for custom change return value to cancel server call 2017-01-24 08:41:05 -07:00
nathangray
fbba0f2e59 - Fix a bug in print dialog, clicking header was also toggling first checkbox
- Missing translations from Stefan Unverricht
2016-12-06 09:45:55 -07:00
Hadi Nategh
8da2404279 Mobile template:
- Show fav icon when it's available
- Fix delete_action does not get removed after the row is deleted or deselected
- Fix some alignments for mail list header
2016-09-19 12:23:16 +02:00
Hadi Nategh
69604cb633 Another try to fix base_url for print_dialog template. Seems it's necessary to keep the template_base_url untocued, because template_base_url gets calculated everytime when an et2 instance loads a template. 2016-09-15 11:50:18 +02:00
Hadi Nategh
16992899d4 Let egw.link takes care of the base url. Fix sometimes nm_print_dialog template runs into CSP error 2016-09-14 15:09:32 +02:00
Ralf Becker
845f9aee36 fix CSP error in nextmatch print, if EGroupware is installed direct into docroot
et2.template_base_url == '/' generates url //api/templates/... which is a protocol independent representation of domain api and not identical to /api/templates
2016-08-19 14:54:43 +02:00
Hadi Nategh
e45925b063 * All apps: Add a counter indicator for selected entries in a list in mobile template 2016-07-27 11:34:07 +02:00
Hadi Nategh
ea200604fb Implement new nextmatch cat-filter including category colors 2016-07-07 15:45:14 +02:00
nathangray
2a8bc013d6 Fix Make sure customfield header widgets get finished, even if customfield widget is already done - fix the fix to finish all customfields, not just selectboxes 2016-07-04 13:32:35 -06:00
nathangray
2615837137 Make sure customfield header widgets get finished, even if customfield widget is already done.
Fixes addressbook switching from 'All contacts' to organization and back loses customfield headers
2016-07-01 13:05:16 -06:00
Hadi Nategh
6fbdd38e33 Implement update status for nm header objects used for mobile template (eg. action button) 2016-06-17 12:29:37 +02:00
Hadi Nategh
87fb94a496 Deprecate $j global variable and replace them all with standard jQuery 2016-06-02 16:52:01 +02:00
nathangray
9f32a7e1a9 Don't try to change columns that can't be changed, fixes Uncaught TypeError: Cannot set property 'visible' of undefined 2016-06-01 09:30:42 -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