Ralf Becker
5d3d61e5b0
only care for regular expression starting with /, as everything else is to ambigious eg. "replys[$row][reply_comment]" has a $ followed by an r, which is also first char of that expression
2014-06-11 07:59:45 +00:00
Nathan Gray
22b6084224
Fix link entry clear button not actually clearing the value if the value was entered via code instead of user
2014-06-10 21:35:39 +00:00
Nathan Gray
a4335f01a0
Hide custom field lines from nextmatch if they have no value
2014-06-10 20:22:43 +00:00
Nathan Gray
f8cb222580
Style gantt links as invalid based on if the start/end dates are correct for the link type
2014-06-10 18:52:50 +00:00
Nathan Gray
42547b8153
Gantt chart styling
...
- Include progress as text on left side of bar
- Highlight weekends
2014-06-10 17:38:02 +00:00
Nathan Gray
315a0d4ac0
Pass along width attribute, so it can be passed to chosen
2014-06-09 22:55:39 +00:00
Nathan Gray
a9e37042cb
Use js type for query & select callbacks and implement setter functions
2014-06-09 19:28:31 +00:00
Nathan Gray
fa8963c8b4
Consider "0" (string zero) equal to false instead of true, as some PHP values come as strings.
2014-06-09 19:27:02 +00:00
Ralf Becker
60a32879d4
first try to implement/activate client-side validation for numbers, thought not fully working yet
2014-06-05 15:48:29 +00:00
Ralf Becker
a45525949b
implement clientside validation for textbox, stop complaining about $ in regular expressions of validator and fix attribute name from "preg" to "validator" on server-side
2014-06-05 15:47:23 +00:00
Nathan Gray
2e09cf1ab1
- changing column selection preference now works if 'nextmatch-' prefix is included in the columnselection_pref setting
...
- change column selection popup to reload every time it opens, just in case something changes in the columns
2014-06-04 18:37:58 +00:00
Nathan Gray
001eab9159
If extra data is sent from a get_rows, try to update a matching child widget.
2014-06-04 16:45:19 +00:00
Ralf Becker
2c5ba307b5
convert numbers to string for consistent matching, 0 was never set, because it was treated as already set, which gives wrong result if it is not first option
2014-06-04 09:52:02 +00:00
Nathan Gray
0d9e9553b3
Change date filters:
...
- End date is now inclusive
- Task dates must now either start after start date _or_ end before end date to be included, instead of fall completely within the range
2014-06-03 23:29:46 +00:00
Ralf Becker
c6fe901b56
fixed infinit loop, if string to active starts with url right away, eg. " https://domain.com/ "
2014-06-03 07:22:34 +00:00
Nathan Gray
3b8bee4d18
Update dhtmlxTree & dhtmlMenu to latest version
2014-06-02 23:32:15 +00:00
Hadi Nategh
87d3a0bf28
Set date-duration display_format default to day/hour/minute
2014-05-30 13:40:13 +00:00
Nathan Gray
10d7a3f579
If a filter changed, explicitly clear the selection to prevent confusion if selected rows are in the new results
2014-05-29 16:21:41 +00:00
Nathan Gray
bb5b1163cb
Progress on gantt chart
...
- Fixed error from projects with no constraints
- Got ajax expansion working
2014-05-27 23:27:30 +00:00
Nathan Gray
1224439431
Fix reversed path when namespaced widgets were nested
2014-05-27 20:22:23 +00:00
Nathan Gray
bff821e300
Move special path handling from nextmatch up to top level so it can work for all widgets with a namespace and their own value
2014-05-27 20:16:02 +00:00
Nathan Gray
7af73c91c4
Avoid infinite loop looking up accounts
2014-05-27 15:33:26 +00:00
Nathan Gray
34ed2d7290
- Fix missing change handler on some nm header templates
...
- Fix improper usage of jQuery.when() (it doesn't take an array)
- Fix missing filter detection to not break with multiple values
2014-05-26 22:27:57 +00:00
Ralf Becker
086501bc30
fixed .5 hours entered in infolog (PM tab) is displayed after saving as 30 days, caused by automatic transformation to minutes and not recognising that display_format does NOT support minutes
2014-05-26 13:44:24 +00:00
Hadi Nategh
ba1141f0cc
Set value for date-timeonly when it's string and NaN
2014-05-26 07:46:30 +00:00
Ralf Becker
30ffb38bd6
reverted r47030 as it breaks server-side nextmatch actions
...
nextmatch values were in root instead of namespaced "nm", causing all serverside actions (eg. move one contact into an other addressbook) to fail, because validation did not find values placed clientside outside valid namespace
2014-05-23 16:00:17 +00:00
Ralf Becker
24ee68bdf2
fixed infinit loop for apps running in iframe by refactoring frameworked templates work with client-side api:
...
- moved shared etemplate2 part into static etemplate2.app_refresh() method
- egw_message.refresh() calls framework.refresh() which can return a DOMwindow for egw.refresh() to work on, instead of calling egw.refresh recursive
2014-05-23 08:21:11 +00:00
Nathan Gray
1f4c8a0c03
Fix blank list on refresh, related to r47042
2014-05-22 16:32:58 +00:00
Ralf Becker
893091e286
- new app.js observer method which receives update notifications from all apps
...
- app.infolog.observer triggering refresh of InfoLog list, when a timesheet get stored
- moved code of already deprecated egw_refresh() to egw.refresh() and changed etemplate to use that
- framework from jdots/pixelegg template no longer overwrites window.egw_refresh, but egw.refresh calls framework.refresh for regular refreshs if framework is present
2014-05-22 15:29:14 +00:00
Nathan Gray
84e20433b6
Attempt to get rows in the direction of need, rather than centered on the missing rows
2014-05-22 14:48:22 +00:00
Nathan Gray
ccdb54a366
Gantt chart progress
2014-05-21 22:11:36 +00:00
Ralf Becker
5825c8df18
new button attribute "novalidate" to skip validation
2014-05-21 17:24:56 +00:00
Ralf Becker
6ee8b47d7a
fixed javascript error when setting a validation error on a widget not on a tab
2014-05-21 09:07:14 +00:00
Ralf Becker
281863ac29
get customfield_list to respect readonlys of single fields
2014-05-15 16:49:53 +00:00
Ralf Becker
2b3a9cd1b5
* eTemplate2: fixed accounts got lost, if account-selection did not show all accounts
...
if accounts need to be fetched from server, callback is called async --> calling set_value again for last callback
2014-05-14 10:00:31 +00:00
Hadi Nategh
d849c6797a
Switch sorted array and id params position, in sortable gird
2014-05-14 08:29:04 +00:00
Nathan Gray
33f264346a
Fix error deleting a favorite
2014-05-13 21:39:23 +00:00
Nathan Gray
18bf4a4ebd
Fix typo
2014-05-13 18:44:59 +00:00
Nathan Gray
51c73ddf89
Make sure all account options are present. Was on server side, now needs to be client side. See r46713
2014-05-13 18:40:31 +00:00
Nathan Gray
1ccc8f9e0d
Fix label DOM nodes so it works in columns other than the first one
2014-05-13 00:36:32 +00:00
Nathan Gray
777e1bec1e
Better handling for detached label, fixes errors if there is no label
2014-05-12 22:16:05 +00:00
Nathan Gray
b4b1eee57a
Expand what is accepted as a CSV for multi-select. Fixes Permanent time zone preference does not get saved.
2014-05-12 22:03:38 +00:00
Nathan Gray
34a382be2b
Implement detached labels
2014-05-12 21:49:48 +00:00
Nathan Gray
f5010b880b
Preserve expanded sub-grids across refresh
2014-05-12 19:29:00 +00:00
Hadi Nategh
e8e3de984a
Wrap content in link-add with span
2014-05-09 15:54:11 +00:00
Hadi Nategh
5b80563707
Consider other date widgets for date initialization as they could have fixed data_format too
2014-05-09 09:48:10 +00:00
Hadi Nategh
fbd35cba3f
No need to check oldValue as check for customfields condition is good enough, and it may cause other date widgets do not get parsed
2014-05-09 08:48:26 +00:00
Hadi Nategh
b6e2460e91
Set customfields "date" and "date-time" widgets value correctly when they get initiated by storage value
2014-05-08 17:48:54 +00:00
Hadi Nategh
82e259c407
Setup data_format customfileds "date" and "date-time" in client-side
2014-05-08 17:45:09 +00:00
Nathan Gray
c886f46122
- Listen to sub-template deferred to allow children of children to finish initializing (allows more complex sub-templates)
...
- Special case for sub-template filter having null value
- On sub-template input change, only update changed values instead of resetting & re-generating filters
Fixes some sub-template filters & col_filters conflicting and overwriting each other
2014-05-08 16:25:28 +00:00