Nathan Gray
5e90755cd6
Add 'sortable' attribute to grid.
...
Set it to an AJAX (PHP) callback to enable, and it will be passed the grid ID & new row order whenever the user re-orders the grid rows.
2013-07-03 23:16:15 +00:00
Nathan Gray
67d2fb66c2
Add a check to prevent total failure in the rare event of bad settings.
2013-07-03 23:06:59 +00:00
Ralf Becker
486298a7c9
optional parameter for et2_nextmatch.applyFilters(_set) to certain filters before updating the rows, eg. applyFilters({ filter: '', search: ''}); to reset filter to 'all', remove search and update the rows
2013-07-03 14:29:17 +00:00
Ralf Becker
349da32512
allow to set name attribute of iframe (to be used as target in links)
2013-07-03 14:26:33 +00:00
Ralf Becker
98f13d3e55
new method to specify images of a given node or standard images for new node (not specifying them), fixed merging of dynamicly loaded data, which was not taking recursive struture into account and -1 as id to update, using new id of new data in that case
2013-07-02 18:24:32 +00:00
Ralf Becker
ffceaf445a
prototype for an admin app using et2 and a navigation tree, need to set index url in database: UPDATE egw_applications SET app_index="admin.admin_ui.index&ajax=true" WHERE app_name="admin" (dont forget to clear cache)
2013-07-01 17:07:07 +00:00
Nathan Gray
533f141bc2
nextmatch is always valid too
2013-06-26 22:23:41 +00:00
Nathan Gray
0c6f70005a
Implement some basic client-side validation (required)
2013-06-26 20:50:10 +00:00
Nathan Gray
7142d632a5
Implement htmlarea ascii mode
2013-06-26 19:34:14 +00:00
Nathan Gray
8f2248b6ab
When setting nextmatch filters, accept empty values too
2013-06-26 18:04:51 +00:00
Nathan Gray
0fa6386b1c
Avoid XSS by using CSS to keep line breaks intact instead.
2013-06-26 14:11:54 +00:00
Nathan Gray
35da74fac0
Make sure there's a 'None' option if the select-account is not required so user is not forced to pick an account.
2013-06-25 22:15:09 +00:00
Nathan Gray
c8d2953c85
Check that input is created before using it, avoids error when chosen gets involved.
2013-06-25 21:56:08 +00:00
Nathan Gray
3ddf4a0300
Fix read-only selectboxes rejecting some values (same as r42732)
2013-06-25 21:38:11 +00:00
Nathan Gray
442c9e6356
- Add required attribute to radiobox so it can pass it on to radio buttons
...
- Add detached DOM support to play nice in datagrid rows
2013-06-25 20:53:39 +00:00
Nathan Gray
059e82a01b
Change newlines to <br /> in read-only text to preserve multi-line data.
2013-06-25 17:48:48 +00:00
Nathan Gray
d2031034f1
Silence some more messages by providing attribute info
2013-06-25 16:44:50 +00:00
Nathan Gray
e0b576e822
Fix read-only selectboxes not being translated
2013-06-25 14:37:24 +00:00
Nathan Gray
80ae80098e
Fix disabled grid rows still being created.
...
While not ideal (prevents modification / un-disabling after), this prevents some problems with doubled IDs
2013-06-24 20:50:37 +00:00
Nathan Gray
eaa0cb6fa0
Need to trigger chosen update for single selects too
2013-06-19 19:01:42 +00:00
Nathan Gray
865151f977
Use value as string, so we don't fail if invalid data is passed
2013-06-19 18:06:59 +00:00
Nathan Gray
683a624710
Fix for some customfield dates going missing
2013-06-18 23:24:14 +00:00
Nathan Gray
1b3c8d15c8
Fix for HTML site/general configuration overwriting customfield settings
2013-06-18 23:23:42 +00:00
Nathan Gray
8a2c791be3
For radiobox customfields, implement "empty" first value = extra group label
2013-06-18 20:55:13 +00:00
Nathan Gray
0cd63aefc2
Fix missing custom selectbox rows attribute
2013-06-18 17:16:08 +00:00
Nathan Gray
c87a5d6806
Implement csv max,display for custom field text length
2013-06-18 17:03:06 +00:00
Nathan Gray
b933b17446
Put radio button labels after radio button by default
2013-06-18 15:08:50 +00:00
Nathan Gray
5c96c8c986
Prevent accidental too wide chosen boxes
2013-06-17 22:01:50 +00:00
Nathan Gray
94793b7808
Silence some warnings by providing info
2013-06-17 21:22:32 +00:00
Nathan Gray
ce5d6faa0a
Add setter method for tags attribute
2013-06-17 20:55:42 +00:00
Nathan Gray
8c449cae82
Trigger a load event on the template container when the etemplate is fully loaded, so other (non-app) scripts can hook in with ease. The etemplate2 object will be the second parameter to the callback.
2013-06-17 14:44:55 +00:00
Nathan Gray
8f277e0203
If disabling (=hiding) a widget, do its label too
2013-06-12 23:14:09 +00:00
Nathan Gray
7fc6d7e24d
Fix read-only display of links with application already set
2013-06-11 23:13:04 +00:00
Nathan Gray
4d26a36d09
Fix order of selectbox option detection so value is last choice
2013-06-11 22:51:45 +00:00
Nathan Gray
d2b9501208
Fix up column selection pref / default / forced to update session & indicate to admin that preference has been forced
2013-06-11 22:50:05 +00:00
Nathan Gray
62a28e88fc
Accept any multiple CSV, not just numeric IDs
2013-06-10 23:38:02 +00:00
Nathan Gray
7da0e6d27b
Check to make sure search sub-widget is created before trying to use it
2013-06-10 22:07:31 +00:00
Nathan Gray
92aa694f97
Fix customfield sub-type restriction blocking all customfields
2013-06-10 20:15:11 +00:00
Nathan Gray
e5b91c72f2
Fix nm_compare_field() to work with et2
2013-06-10 19:26:04 +00:00
Nathan Gray
de7d633bd7
Make account quick search add to selection instead of replacing it
2013-06-10 16:53:41 +00:00
Nathan Gray
c8bbf8b582
Add tooltip explination to auto-refresh selectbox
2013-06-10 14:33:09 +00:00
Nathan Gray
6852d0807d
Improve UI of multi-row selectbox
...
- Only check button, no x (check toggles all/none), aligned with checkboxes
- Header with buttons hides when not hovering over checkbox, saving space
- Account select now has quick-select in header
2013-06-05 22:45:19 +00:00
Nathan Gray
d25d2d1b98
Fix link-entry widgets with only_app set losing value
2013-06-05 17:11:49 +00:00
Nathan Gray
a10914b20e
Fix link-entry custom fields showing application selectbox
2013-06-05 17:10:57 +00:00
Nathan Gray
cf0f1c9cd2
Implement no_files attribute
2013-06-04 23:05:31 +00:00
Nathan Gray
4d13f3170f
Can't forget to reset the ID (template name), or it might not be able to load the template
2013-06-03 23:05:02 +00:00
Nathan Gray
f5ab004499
Fix occasionally missing selectbox value
2013-06-03 22:33:50 +00:00
Nathan Gray
d5b289e894
Add a global ajax callback so the et2 widget can stay in sync with the dhtmlxtree
2013-06-03 16:32:45 +00:00
Nathan Gray
e2d6d9a65d
Change some indenting
2013-05-29 19:12:14 +00:00
Nathan Gray
aeeb3e9469
Silence one warning by providing an attribute definition
2013-05-29 19:08:00 +00:00