Commit Graph

2241 Commits

Author SHA1 Message Date
Nathan Gray
040ee0253f Taglist fixes:
- Fix toggle multiple got stuck with single value
- Fix keyboard navigation
2016-03-10 17:44:51 +00:00
Hadi Nategh
e481c2d133 Mobile theme:
- Do not let user mess with search filter and make searchbox available as last filter state
- Implement indicator of open state for nm header/ contextmenu
2016-03-10 15:45:02 +00:00
Nathan Gray
fd2bf095aa Avoid failure of nextmatch check with widgets without parents 2016-03-09 22:05:49 +00:00
Nathan Gray
40f56f7ad5 Need to get cachable options synchronously if it's a read only in a nextmatch row as we won't be able to set it later 2016-03-09 21:05:09 +00:00
Nathan Gray
d105b8c751 Avoid taking focus when setting value programmatically 2016-03-09 17:37:04 +00:00
Nathan Gray
b0eee9d9a4 Re-commit of 55312, this time with improved support for columns with no label / ID (can not be toggled or resized)
Allow gridview / nextmatch columns to be disabled and not show as options in the column list by sending something from the server.  Previously was only parsed & disabled on first load.
eg: setting the column disabled=@no_column, then setting no_column=true in the get_rows response to disable it.

Note: to re-enable the column ,you must send no_column=false
2016-03-09 17:29:29 +00:00
Nathan Gray
f0afe953b7 Fix toggling multiple display did not reduce value 2016-03-09 16:31:25 +00:00
Nathan Gray
d1b0c25ae4 Change taglist toggle to tri-state where toggle button replaces dropdown trigger, instead of having a separate button 2016-03-09 16:20:53 +00:00
Hadi Nategh
c334956857 Revert commit 55312 because of breaking nm in mobile theme. It needs more investigation 2016-03-09 10:31:29 +00:00
Nathan Gray
04e33f4d19 Better handling for taglist overflow - ellipsis, better hiding, better layout handling 2016-03-09 00:42:33 +00:00
Nathan Gray
b9fc5e26df Respect rows attribute to restrict how big the taglist is allowed to get 2016-03-08 22:23:07 +00:00
Nathan Gray
53dcea9004 Allow gridview / nextmatch columns to be disabled and not show as options in the column list by sending something from the server. Previously was only parsed & disabled on first load.
eg: setting the column disabled=@no_column, then setting no_column=true in the get_rows response to disable it.

Note: to re-enable the column ,you must send no_column=false
2016-03-08 17:16:32 +00:00
Ralf Becker
fa6ab4daa0 etemplate2.min.js(.map) is created by build/deployment scripts, no longer in svn 2016-03-08 08:17:09 +00:00
Nathan Gray
c329377c70 Remove debug 2016-03-08 00:08:51 +00:00
Nathan Gray
190457bef8 Give taglist special behaviour when it's too small to show everything - it uses ellipsis & hover 2016-03-07 22:39:11 +00:00
Nathan Gray
7b42308df2 Add "toggle" as an option for taglist multiple attribute 2016-03-04 15:36:05 +00:00
Ralf Becker
b540582c2b removing minified files again from svn and creating them automatic in our build and deployment scripts 2016-03-03 16:17:21 +00:00
Hadi Nategh
784aa2c82f Mobile theme W.I.P:
- Fix view mode loads with wrong context
- Fix mail view actions
2016-03-03 14:10:08 +00:00
Ralf Becker
ecb4b7e74a remove ckeditor from api bundle (it does not work, is already minified and uglify work a lot faster without) 2016-03-02 14:34:01 +00:00
Ralf Becker
0badf82d7b missing et2 and api min.js 2016-03-02 08:46:43 +00:00
Ralf Becker
aa31a8705f fixing scope of "use strict", so we do not need to remove it when concatinating our scripts like we do now with minjs 2016-02-29 20:40:43 +00:00
Nathan Gray
c8c25b35ee Add taglist-cat widget for categories in taglist style 2016-02-29 20:29:49 +00:00
Nathan Gray
73009e2f4e Cancel taglist validation check so enter key can trigger ajax search instead 2016-02-29 18:17:20 +00:00
Hadi Nategh
45e7142b09 Fix javascript error on serachbox
Remove overlay option from addressbook
2016-02-29 14:19:33 +00:00
Hadi Nategh
794a2082f2 Add 'fix' option for searchbox widget:
- Make possibility for none flex searchbox, simple as just an input field, default value is true.
2016-02-29 13:53:18 +00:00
Hadi Nategh
5e25f344d6 Make checkbox with label unique enough to style it different than normal label 2016-02-29 10:05:15 +00:00
Ralf Becker
63f1e7100c tree uses now png or svg images, still some do not yet exist as png or svg 2016-02-26 10:59:23 +00:00
Ralf Becker
1c8d6e7b03 show no more lines and left/down triangles instead of plus/minus in tree 2016-02-25 19:29:56 +00:00
Nathan Gray
c17bebaab0 Instead of showing invalid email values, remove them and set a validation error then focus the value so user can keep editing. 2016-02-25 18:34:20 +00:00
Nathan Gray
97a4d43312 Use accounts from accounts cache, if available, before we check the link_title store.
Fixes account name not shown on first load.
2016-02-25 18:13:14 +00:00
Ralf Becker
4f5c8bec8b active first search result in taglist, to just use enter to add it 2016-02-25 17:36:19 +00:00
Nathan Gray
baa28c6939 Avoid triggering onChange event when loading 2016-02-25 16:17:40 +00:00
Ralf Becker
d2e26f6e10 fix button to only assign et2_button_text class, if we really have a text in the button and style it correctly for nextmatch 2016-02-25 13:23:22 +00:00
Ralf Becker
3a00764669 do not wrap progress widget in an a tag and install click handler, if there is no href 2016-02-25 13:12:25 +00:00
Nathan Gray
0fbd48a0db Allow enter to select the highlighted suggestion 2016-02-24 18:18:03 +00:00
Nathan Gray
009b5b72e7 Check for old template and clear it before loading a new template into same DOM node
Prevents action corruption in home when new etemplate is loaded before old one is cleared.
2016-02-23 21:18:33 +00:00
Nathan Gray
4c307f7d1f Catch and log errors when trying to resize to prevent home from breaking if something goes wrong. 2016-02-23 21:14:26 +00:00
Nathan Gray
27720bdaa2 Handle value set before taglist is created without errors 2016-02-23 21:06:46 +00:00
Hadi Nategh
ba0b2b8d5b Mobile theme W.I.P.:
- Fix searchbox icon disappears after closing it
2016-02-23 11:21:48 +00:00
Hadi Nategh
848c7d71d2 Mobile theme W.I.P.:
- Fix error 500 happens when opening view template
- Implement better approach for specifying currentapp
2016-02-22 13:03:57 +00:00
Hadi Nategh
a765e1496d Fix searchbox does not collapse after reload and fix close button padding 2016-02-19 13:45:20 +00:00
Ralf Becker
ab23ecb7f5 fix infolog wont save, if cc was an empty string, seems taglist needs empty now as empty array, not null or "" 2016-02-19 09:36:41 +00:00
Nathan Gray
040d1e8353 Revert part of r55067 - still need that for clicks on suggestions 2016-02-18 16:42:09 +00:00
Nathan Gray
782c54976b Fix some issues causing problems with existing taglists:
- Some account widgets were not finding accounts through selectbox
- Setting a single value was causing an error
2016-02-18 16:29:24 +00:00
Ralf Becker
c871f25ddb fix not working "cat_is_select" === true, for translating options used instead of category-selection 2016-02-18 15:50:58 +00:00
Hadi Nategh
0936e5e71e Fix searchbox does not keep the search value after reload 2016-02-18 13:49:45 +00:00
Hadi Nategh
d5f0727b2e Enable overlay attribute for addressbook's searchbox 2016-02-18 12:58:14 +00:00
Hadi Nategh
5612a16c76 Add overlay attribute for seachbox widget 2016-02-18 11:16:47 +00:00
Nathan Gray
ae79287e18 Get relative dates working again in export 2016-02-17 23:45:30 +00:00
Ralf Becker
8637e1c41b move label of all addressbook selectboxes into all-label (eg. "All categories"), resize selectboxes via css automatic, fix borders of favorites and row-counter in nextmatch header 2016-02-17 13:23:27 +00:00