Commit Graph

2252 Commits

Author SHA1 Message Date
Ralf Becker
e4dd2e8ff2 - allow to return false in callback to stop dialog from closing
- set template-name as id of div, like elsewhere in et2
- allow a beforeClose callback, also trigged if dialog is closed via X (also allows to stop closing via return false)
2016-03-15 21:59:42 +00:00
Ralf Becker
00c3d2ed3c allow to dynamic change autocomplete_params and make minChars a widget attribute 2016-03-15 21:57:43 +00:00
Nathan Gray
80c1097265 Close taglist dropdown if the sidebox scrolls, as this leaves the dropdown behind 2016-03-15 18:56:38 +00:00
Ralf Becker
d20873b881 expose "groupBy" attribute to group results by a given JSON attribute 2016-03-15 16:44:45 +00:00
Hadi Nategh
f1e509cf2c Make sure taglist is exist, fix taglists on mail reply do not work 2016-03-15 09:10:15 +00:00
Nathan Gray
f9fd54dd7d Avoid server side exception by only looking for user IDs that are numeric 2016-03-14 21:51:58 +00:00
Nathan Gray
9b70d4bb50 Fix broken check in current selection causing missing labels 2016-03-14 21:45:40 +00:00
Nathan Gray
e6678399d2 When server restores a disabled column, set it back to user's preference instead of just turn it on 2016-03-14 17:19:35 +00:00
Ralf Becker
a449b5e93b do not overwrite already evaluated readonly attribute, allows to set buttons readonly in template and make them visible via $readonlys[$id] = false 2016-03-14 13:09:58 +00:00
Ralf Becker
999b0a7083 fix actions got wrong row, if thead/tfooter (part attribute != "body") was used 2016-03-11 18:57:18 +00:00
Nathan Gray
24a3478b25 When taglist is single, expand on click anywhere in the widget (except x) 2016-03-10 18:00:24 +00:00
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