Ralf Becker
b94ea49aa3
new favorite filter icon, asterisk instead of funnel
2016-03-18 16:13:37 +00:00
Nathan Gray
e5cb830108
Do not fail if selectbox cannot find the top level definition, just make a new cache for the scope
2016-03-18 15:46:08 +00:00
Ralf Becker
d49f8bc45f
fix situation where multiple app.js objects are used, eg. InfoLog and CRM view in Addressbook:
...
- etemplate2 creates a private app object instead of using window.app with just prototypes, if template is not from current app
- fixed all cases where window.app was used to use just app, to use evtl. private object
- app_base no longer assigns itself to window.app (window.app[this.appname] = this), as that breaks private app objects
- et2_compileLegacyJS replaces app.appname with widget.getInstanceManager().app_obj.appname
- etemplate2 stores either private or global app object in app_obj attribute
2016-03-17 18:12:36 +00:00
Nathan Gray
6fd841ebee
Don't return empty array for empty single selects, should fix some problems with empty selections
2016-03-17 17:22:56 +00:00
Ralf Becker
b60994f1f2
use (mobile) template specific url on client-side to load sub-templates
2016-03-16 11:27:49 +00:00
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
6474c34721
Fix taglist x button positioning in Firefox
2016-03-15 19:02:49 +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
Nathan Gray
d87e280bf9
Fix multiple attribute not set in template was handled as false on server
2016-03-14 15:24:17 +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
Hadi Nategh
3ec1847b34
Mobile theme:
...
- Add popupMainDiv a class to be able to use the same styling for semi-popups
- Fix color for edit icon
- Try to use .popupMainDiv class instead of ID
2016-03-14 08:38:30 +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
Hadi Nategh
a2744ba4cc
Fix searchbox X button overlays over search content
2016-03-10 14:14:04 +00:00
Nathan Gray
fd2bf095aa
Avoid failure of nextmatch check with widgets without parents
2016-03-09 22:05:49 +00:00
Nathan Gray
cd1f03c761
Add ability to test for blank fields when merging:
...
{{IF~ #fieldname ~ EMPTY ~ Empty ~Not empty}} or {{IF~#fieldname~~Empty~Not empty}}
2016-03-09 21:58:56 +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
42831bc18c
dont waste space, if tags fit
2016-03-08 15:37:52 +00:00
Ralf Becker
66e1fae884
style et2_file and et2_textbox for toolbar/NM header
2016-03-08 12:46:27 +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
Hadi Nategh
586e485d24
Update etemplate2.dtd
2016-03-07 11:38:19 +00:00
Ralf Becker
7ada2354d3
move addresbook_bo to Api\Contacts, ldap to Api\Ldap, ldapserverinfo to Api\Ldap\ServerInfo, bo_tracking to Api\Storage\Tracking, historylog to Api\Storage\History, Api\Customfields to Api\Storage\Customfields
2016-03-06 13:45:15 +00:00
Ralf Becker
fcca19cfcf
moving so_sql* to Api\Storage
2016-03-06 09:05:20 +00:00
Ralf Becker
aeee460d6c
style chozen / taglist for nextmatch in tracker
2016-03-04 17:00:20 +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
Nathan Gray
6aa1e19a6f
Support using div as a linebreak
2016-03-02 16:19:23 +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
Nathan Gray
4ebaf56413
If we are not processing styles, just encode special characters.
...
Fixes broken downloads, missing bits if there were <> in the text
2016-03-01 22:31:19 +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