Nathan Gray
80b2e2b244
Fix for losing actions if they are re-linked to a new actionObject
2015-08-11 15:37:20 +00:00
Nathan Gray
3cf6211c95
Little fixes to avoid some errors:
...
- Make sure widget is still there before trying to set its select options
- Make sure expand button is there before trying to remove it
- Only try to set select options if header widget is a select box
- Pass appropriate options into getEntry() so it can return null on not existing keys
2015-07-09 19:12:13 +00:00
Nathan Gray
dcc69abf9b
* Smarter favorite highlighting
...
Now highlights if the current application state matches a favorite, either by click or manually setting the filters.
2015-06-29 19:16:56 +00:00
Nathan Gray
fbfb2f18d7
Allow column widgets a chance to resize after column change
2015-05-20 15:15:49 +00:00
Nathan Gray
237d1d809e
* If column information is stored in a favorite, restore it along with the filters
...
To get column information in the favorite, change the visible columns before you create the favorite.
If the favorite has no column information, the visible columns will not be changed.
2015-05-11 17:29:31 +00:00
Ralf Becker
badc6062fa
stop invalidation of not visible nextmatch, happens when switching from infolog to crm-view in addressbook
2015-04-28 16:01:39 +00:00
Nathan Gray
5a6d9b5fcb
Use timeout to get selected autocomplete value instead of just the entered text
2015-04-15 22:33:06 +00:00
Nathan Gray
1da6e78def
Modifications to cached options
...
- country list no longer supports options when caching
- copy options to avoid modification with additonal options
2015-04-15 15:56:33 +00:00
Nathan Gray
5cfd583904
Allow applications to add additional options to selectbox type options.
2015-04-13 21:57:46 +00:00
Nathan Gray
cbcb273367
Remove all actions before setting to prevent conflicts between old and new actions with the same id
...
Also update existing row actions (fixes issue with r52449)
2015-04-13 17:20:47 +00:00
Hadi Nategh
ab7ada048d
Revert commit #52449 , causing context menu's sub action get lost after et2_refresh
2015-04-13 10:03:27 +00:00
Nathan Gray
f926605ea7
Remove all actions before setting to prevent conflicts between old and new actions with the same id
2015-04-08 22:41:44 +00:00
Ralf Becker
d82f65e95e
reverting r52412, as it breaks not validating not send values, sending empty array for nothing selected in selectbox instead of (not submitted) null value
2015-04-03 12:43:26 +00:00
Nathan Gray
db74398622
Adapt detection for missing 'All' category option to array of options style
2015-04-01 20:17:53 +00:00
Nathan Gray
1deb3d4f34
Selectbox options kept on the client side
...
Static options copied to the client side in the JS code where possible, and requested from the server once via AJAX when needed.
2015-04-01 17:11:21 +00:00
Nathan Gray
6671f4090a
- Fix missing onchange trigger on selectboxes
...
- Avoid loops caused by onchange trigger when applying filters
2015-03-31 16:23:41 +00:00
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