Commit Graph

263 Commits

Author SHA1 Message Date
Nathan Gray
984bbf4d44 Include lettersearch when forcing preferences 2015-03-16 22:28:18 +00:00
Nathan Gray
26aa7b3438 Fix missing column filters on first load 2015-03-09 15:31:30 +00:00
Nathan Gray
904bc8b19f Better row limiting by using CSS instead of grid's average height 2015-02-19 17:16:39 +00:00
Nathan Gray
ae0c757ea2 Fix some nextmatch custom field bugs:
- no custom fields in nm rows when there were none explicitly selected
- Custom field column shown even if none were defined
2015-02-17 18:02:10 +00:00
Nathan Gray
92c26d156d Better handling of printing of various row quantities:
- print < loaded row count
- print > loaded row count
- print all rows
2015-02-11 20:00:22 +00:00
Nathan Gray
82f36e6de4 Extend printing support to work with multiple etemplates on the printed tab 2015-02-11 18:05:14 +00:00
Nathan Gray
fce10a2337 Nextmatch print styling
- Hide nextmatch header
- Change styling of selectboxes in row header
2015-02-09 23:33:03 +00:00
Nathan Gray
eefbb1a21d Fixes for nextmatch changing row template
- Remove & free children from previous template (fixes hundreds of hidden children)
- Init activeFilters.col_filter filters from settings, then use activeFilters instead of options.settings (fixes filters changed)
2015-02-09 20:43:26 +00:00
Nathan Gray
2cf897b05a Attempt to get nextmatch printing always on the page (landscape) 2015-02-05 21:52:29 +00:00
Hadi Nategh
ec5ef7c1c8 Add button type to et2_buttons in order to stop default browser submit behavior
-Fix addressbook and tracker nm search opens new popup
2015-02-04 17:31:23 +00:00
Hadi Nategh
13684d4903 Activate cross-browser autocomplete
- Replace et2_contianer from DIV to FORM
- Add autocomplete fixer to submit action
- Add autocomplete fixer to nextmatch search box
2015-02-03 17:42:32 +00:00
Nathan Gray
2be34b4b53 Bug fixes on nextmatch printing
- fix loaded rows check
 - fix hidden etemplate check
2015-01-27 20:48:06 +00:00
Nathan Gray
cee521d4cd Work in progress of printing nextmatches, still needs some prettying up & edge case testing 2015-01-27 16:26:59 +00:00
Nathan Gray
abb02c7b40 Add ability to store view in favorites, so tiles can be put on home.
Still some bugs in resizing with this in the home portlet.
2015-01-13 21:56:54 +00:00
Nathan Gray
0eaa3e0896 Fix file drop stopped working after changing template 2015-01-07 22:35:21 +00:00
Nathan Gray
33a0d1154a * Tile view for filemanager 2014-12-31 17:55:06 +00:00
Hadi Nategh
6138698b50 Add focus back to search input field after clicking on cross icon 2014-12-19 14:15:28 +00:00
Ralf Becker
173192f879 remove 0=off in NM column-selection, to show empty-label "Refresh" instead 2014-12-08 13:16:51 +00:00
Nathan Gray
2d149394ae * Add clear button to nextmatch search box for Firefox 2014-10-28 16:37:55 +00:00
Ralf Becker
4acbbf81c1 fix IDE warnings 2014-10-23 12:47:51 +00:00
Ralf Becker
5549dd1fd2 * InfoLog: "No filter" favorite was not resetting filters anymore 2014-10-23 12:42:24 +00:00
Ralf Becker
178bca7f7a 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:02:59 +00:00
Nathan Gray
2ca305b5cc 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:27:39 +00:00
Nathan Gray
3843109dff Avoid error if filter has no options. 2014-09-30 14:47:54 +00:00
Hadi Nategh
3f54a33fda Make sure nm row_ids are string in order to address them as string, seems some ids are not 2014-09-25 08:45:06 +00:00
Nathan Gray
c5d5260d8b Drag and drop nextmatch rows to link between entries 2014-09-23 21:25:46 +00:00
Nathan Gray
4e6c5c3a1f Warn about legacy function calls using too many arguments 2014-09-08 23:01:55 +00:00
Nathan Gray
4031e2b5a1 Fix customfield column size preference not used 2014-09-08 20:09:21 +00:00
Nathan Gray
f3c15f87b1 Infolog lists embedded as action can have their own separate column preferences. 2014-08-25 23:18:09 +00:00
Nathan Gray
28d2fad14a * Change nextmatch column size calculations so extra size is allocated better. 2014-08-19 23:33:06 +00:00
Nathan Gray
976c7e55ac - 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-18 19:44:37 +00:00
Nathan Gray
f7589316e0 Make sure options are there before looking inside, avoids a potential error in filter options 2014-08-11 20:27:56 +00:00
Nathan Gray
795e2cdb9c Refine cache check conditions, rows is always empty by this point. 2014-07-29 21:46:01 +00:00
Nathan Gray
8a70df4df8 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.
2014-07-28 21:00:39 +00:00
Nathan Gray
8a36e40b10 Call applyFilters() function instead of setting directly, which skipped change detection.
Fixes selection not cleared when applying a favorite.
2014-07-14 09:59:02 +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