Ralf Becker
334832f2ca
remove 0=off in NM column-selection, to show empty-label "Refresh" instead
2014-12-08 13:22:00 +00:00
Nathan Gray
928c61d4cf
* Add clear button to nextmatch search box for Firefox
2014-10-29 14:33:19 +00:00
Ralf Becker
8d8f89d171
* Filemanager: fix since PHP 5.5.18 not longer working non-ascii chars in filenames, eg. German umlauts or accents
2014-10-23 13:39:21 +00:00
Ralf Becker
2903ca4e7f
* InfoLog: "No filter" favorite was not resetting filters anymore
2014-10-23 12:42:52 +00:00
Ralf Becker
e545a9fdf0
Make sure nm row_ids are string in order to address them as string, seems some ids are not
2014-10-21 10:30:14 +00:00
Nathan Gray
c0972a636a
* Drag and drop entries between lists to link them
2014-10-20 18:29:57 +00:00
Ralf Becker
7f619fe32d
fix redirect loop initiated eg. by saving a mail, caused by document.location=url triggering etemplate unload handler and destroying et2 request, identical redirect url detected by jdots framework causes refresh via nextmatch --> next redirect
2014-10-08 20:06:30 +00:00
Nathan Gray
bf51e940b0
Remove auto refresh options for 30 seconds and 1 minute, as apparently they cause problems with mail.
...
Add auto refresh options for 15 and 30 minutes.
2014-10-08 17:29:40 +00:00
Nathan Gray
3abff57761
Avoid error if filter has no options.
2014-10-01 15:04:21 +00:00
Ralf Becker
cfd90f064c
Fix customfield column size preference not used
2014-09-09 09:57:25 +00:00
Hadi Nategh
59f0b65e63
Backport commit r48263, committed by Nathan Gray. Infolog lists embedded as action can have their own separate column preferences.
2014-08-26 13:51:06 +00:00
Ralf Becker
7db4672b35
Refine cache check conditions, rows is always empty by this point.
...
r48042: Make sure options are there before looking inside, avoids a potential error in filter options
r48106: - Adjust default columns to exclude resolution, completion, timesheets, votes and bounties. They can still be turned on manually, just hidden by default.
- Set some more default column widths
2014-08-22 12:31:15 +00:00
Ralf Becker
70b2e235ce
* all apps: fixed column sizes and stretch (which columns change when window size changes)
2014-08-22 11:51:11 +00:00
Hadi Nategh
82fa583951
svn commit -m 'Backport commit 47925 committed by NathanGray. Handle num_rows set by application:
...
- Don\'t overwrite num_rows setting if the application sets it for some reason
- If num_rows is 0, don\'t get the initial rows server side
- If num_rows is 0 and the initial rows are missing, trigger an update right away to get them asyncronously.' etemplate
2014-08-04 09:39:44 +00:00
Nathan Gray
4104f793b2
Call applyFilters() function instead of setting directly, which skipped change detection.
...
Fixes selection not cleared when applying a favorite.
2014-07-14 14:11:41 +00:00
Nathan Gray
ed6013605e
If a custom field is added to the column list, invalidate known columns to get all new data back, in case app did not send custom fields in the first request. Fixes needing to reload after displaying custom fields in nextmatch
2014-07-08 04:21:02 +00:00
Nathan Gray
4c5e36500a
Fix (?) the tough bug where app tab is closed, and nextmatch autorefresh generates an error after "this.getInstanceManager() is null"
2014-07-02 15:58:00 +00:00
Hadi Nategh
545b35de5b
Declare a non declared variable which was messing with app global object
2014-06-24 12:40:25 +00:00
Nathan Gray
ec476a96d7
Fix column selection not saved if columnselection pref setting had 'nextmatch-' prefix already.
...
Fixes infolog columns not being saved
2014-06-18 18:29:52 +00:00
Nathan Gray
2e09cf1ab1
- changing column selection preference now works if 'nextmatch-' prefix is included in the columnselection_pref setting
...
- change column selection popup to reload every time it opens, just in case something changes in the columns
2014-06-04 18:37:58 +00:00
Nathan Gray
10d7a3f579
If a filter changed, explicitly clear the selection to prevent confusion if selected rows are in the new results
2014-05-29 16:21:41 +00:00
Nathan Gray
bff821e300
Move special path handling from nextmatch up to top level so it can work for all widgets with a namespace and their own value
2014-05-27 20:16:02 +00:00
Nathan Gray
34ed2d7290
- Fix missing change handler on some nm header templates
...
- Fix improper usage of jQuery.when() (it doesn't take an array)
- Fix missing filter detection to not break with multiple values
2014-05-26 22:27:57 +00:00
Nathan Gray
c886f46122
- Listen to sub-template deferred to allow children of children to finish initializing (allows more complex sub-templates)
...
- Special case for sub-template filter having null value
- On sub-template input change, only update changed values instead of resetting & re-generating filters
Fixes some sub-template filters & col_filters conflicting and overwriting each other
2014-05-08 16:25:28 +00:00
Nathan Gray
d828eefaeb
Fix missing column filters after loading template(s)
2014-04-29 19:05:55 +00:00
Nathan Gray
4f2f64fcbe
Automatically disable custom field column if there are no custom fields
2014-04-23 20:39:22 +00:00
Nathan Gray
5720af761a
Avoid warnings about not listening for deferred loadingFinished
2014-04-08 21:22:07 +00:00
Nathan Gray
76357f3451
Fix no_filter[2] nextmatch attribute not applied when set in template
2014-04-07 19:07:10 +00:00
Nathan Gray
f6f2a883f0
If UID prefix is not set by the application, set dataStorePrefix automatically once and use it, instead of calculating it (different ways) each time.
2014-04-03 15:23:05 +00:00
Nathan Gray
d5c810d5c4
If nextmatch starts hidden (or disabled) it won't size correctly.
...
Added a resize if enabling a disabled nextmatch so it re-calculates its size.
2014-04-02 15:16:12 +00:00
Nathan Gray
de2f05ee27
If link is for just 1 id (normal case), then don't use an array for ID
2014-03-31 18:20:54 +00:00
Nathan Gray
9d8304a70e
Fix typo preventing proper display of custom field column for some templates
2014-03-31 17:26:10 +00:00
Nathan Gray
ae940d9174
Fix for nextmatch header setFilters()
...
- Add flag to prevent widget change events from triggering an applyFilters() call
Fixes custom date filters causing extra calls and resetting other column filters.
2014-03-31 15:49:36 +00:00
Nathan Gray
869bf62108
Improve handling of changing actions in a nextmatch response:
...
- Also (re)set default action on new actions
- Avoid extra actionManagers
2014-03-26 14:55:06 +00:00
Nathan Gray
2f90f3d427
Fix changed actions only partially updated, missed _actionLinks in controller
2014-03-25 18:34:00 +00:00
Nathan Gray
b16c32714a
- Some documentation
...
- Fix bug ignoring nextmatch-sortheader's sortmode attribute
2014-03-24 19:30:29 +00:00
Nathan Gray
69f4d67d38
Test that the autorefresh timer is still going before binding, tab may have been closed
2014-03-19 20:11:03 +00:00
Nathan Gray
fe21f0fd74
Enhance nextmatch entryheader to return full value if it's anything more than a simple, single selection so we can handle it server side.
2014-03-13 18:58:59 +00:00
Nathan Gray
5f1dcfea57
Unbind handler used to toggle autorefresh
2014-03-12 17:09:56 +00:00
Ralf Becker
db1244dc50
put favorites, counter and new header_row into one container (header_row_right) to float them all to the right, also removed lots of unnecessary css and fixed alignment
2014-03-12 09:47:40 +00:00
Nathan Gray
e7de92519a
- Restructure nextmatch header markup
...
- Add new attribute header_row to place custom template inline inside nextmatch header
2014-03-11 21:54:19 +00:00
Ralf Becker
94f468095d
disable favories dropdown button if not called from infolog (eg. CRM view)
2014-03-10 19:47:09 +00:00
Nathan Gray
96bc660ee3
Clear filters before applying header changes, to handle the case of nulled input, which would otherwise be skipped, and the old value filled in.
2014-03-06 22:09:40 +00:00
Nathan Gray
dbbad57f90
Fix selecting next entry when there are no others
2014-03-06 18:07:47 +00:00
Ralf Becker
99e97d2bfc
fixed Selecting an InfoLog category does not show this cat but "Loading"
2014-03-04 17:27:19 +00:00
Ralf Becker
947c2f0462
not visible nextmatch will run refresh when it becomes visible again (not just ignoring it)
2014-03-04 16:05:38 +00:00
Ralf Becker
ef7c2e5faa
fix IDE warnings
2014-03-04 15:08:34 +00:00
Ralf Becker
5af397132a
fixed opening of addressbook entries sometimes fails after searching: caused by not detected filter change and kept, but no longer displayed selection
...
JSON.stringify(this.controller._filters) == JSON.stringify(this.activeFilters) seems always true, like if it is a reference and not the old state
changed code not to change activeFilters only by calling applyFilters with requested change and detecting there if we have a change
2014-03-04 13:49:33 +00:00
Nathan Gray
e6d6c3c270
Fix nextmatch sort header does not indicate sorted column after reload.
2014-03-03 21:25:00 +00:00
Nathan Gray
b7c989adf8
Use grid's deleteRow() in combination with setTotalCount().
...
Fixes deleted row remaining, breaking grid after update(), (first row remains after changing filter)
2014-03-03 17:32:12 +00:00