Ralf Becker
a4f21dbf00
quiten permanennt error_log in etemplate_widget::run, if widget is disabled, and therefore not running
2014-07-24 09:39:27 +00:00
Ralf Becker
1266aeb52a
quiten permanennt error_log in etemplate_widget::run, if widget is disabled, and therefore not running
2014-07-24 09:38:55 +00:00
Hadi Nategh
e7da57c6cb
Backport commit 47853 by ng, Fix detached date label
2014-07-23 12:54:02 +00:00
Ralf Becker
6a7258e98e
Don't clear children if tabs attribute not provided
2014-07-23 09:15:00 +00:00
Ralf Becker
0abcd5e68f
Refine select option searching when the id is like parent[selectbox].
...
- only search parents when the ID has multiple parts
- fix case when selectbox was in the sel_options arrayMgr, but had no options, parent was used as select options
2014-07-23 09:14:24 +00:00
Ralf Becker
8eb1cb6ee6
Extend run() method for tabs:
...
- Apply additional tabs once in run() before applying the method, instead of in each method
- Apply tab readonlys to disable tabs, so they can be skipped
2014-07-23 09:06:51 +00:00
Nathan Gray
b6b660ee16
Fix detached date label
2014-07-22 22:22:09 +00:00
Nathan Gray
8f0513c99e
Don't clear children if tabs attribute not provided
2014-07-22 21:33:41 +00:00
Nathan Gray
101eee1e1c
Extend run() method for tabs:
...
- Apply additional tabs once in run() before applying the method, instead of in each method
- Apply tab readonlys to disable tabs, so they can be skipped
2014-07-22 21:26:03 +00:00
Nathan Gray
3176500c83
Refine select option searching when the id is like parent[selectbox].
...
- only search parents when the ID has multiple parts
- fix case when selectbox was in the sel_options arrayMgr, but had no options, parent was used as select options
2014-07-22 21:21:33 +00:00
Nathan Gray
6dfd8c616b
- Add special handling for ids like something[{}] to only send select options once
...
- Don't need to process or send options for account, it is done client side now.
2014-07-22 14:18:33 +00:00
Nathan Gray
bd41288788
- Add special handling for ids like something[{$row}] to only send select options once
...
- Don't need to process or send options for account, it is done client side now.
2014-07-21 16:31:10 +00:00
Ralf Becker
7cf1d222ae
log not compiling PHP expressions as warning, as they are most likely caused by wired content, eg. filenames containing a $
2014-07-21 15:27:33 +00:00
Ralf Becker
6a0c7e2c3d
log not compiling PHP expressions as warning, as they are most likely caused by wired content, eg. filenames containing a $
2014-07-21 15:27:15 +00:00
Nathan Gray
59e76d78c5
Fix extra options not used in read only select-account
2014-07-21 14:51:47 +00:00
Ralf Becker
346215edc6
setting an (unlikely) custom delimiter, to allow to use "," in value, eg. folder-name, IF values are specified as array
2014-07-21 12:58:08 +00:00
Ralf Becker
3c6130f7e6
setting an (unlikely) custom delimiter, to allow to use "," in value, eg. folder-name, IF values are specified as array
2014-07-21 12:57:32 +00:00
Ralf Becker
994d10fcde
* Admin/API: remove no longer fully supported method to not "store session-id in cookie", it is the safer default anyway
2014-07-18 10:03:18 +00:00
Ralf Becker
9712e625db
* Admin/API: remove no longer fully supported method to not "store session-id in cookie", it is the safer default anyway
2014-07-18 10:02:51 +00:00
Ralf Becker
d810ea5132
removed not used setting of application via GET parameter
2014-07-18 08:49:04 +00:00
Ralf Becker
4fc6102162
removed not used setting of application via GET parameter
2014-07-18 08:48:37 +00:00
Ralf Becker
bd2a9c6f45
fix an other CSP error, caused by json-responses send eg. from get_rows method on a GET request, filemanager opened in iframe from tracker
2014-07-17 17:26:25 +00:00
Ralf Becker
f49bbab26f
fix an other CSP error, caused by json-responses send eg. from get_rows method on a GET request, filemanager opened in iframe from tracker
2014-07-17 17:26:00 +00:00
Hadi Nategh
344c2f2064
Correct "Save as Zip" icon in link widget contxt menu
2014-07-17 14:23:51 +00:00
Hadi Nategh
ce6ac57f34
Correct "Save as Zip" icon in link widget contxt menu
2014-07-17 14:21:55 +00:00
Klaus Leithoff
5b6913baf3
use self::get_id on multiple selects and radio AND regard its output-format
2014-07-17 12:40:08 +00:00
Klaus Leithoff
0aa84dbaa1
use self::get_id on multiple selects and radio AND regard its output-format
2014-07-17 12:39:20 +00:00
Ralf Becker
a425342d82
change @import (r47700-r47709)
2014-07-17 10:47:02 +00:00
Nathan Gray
9c57ef865d
If link has a target, use that.
...
Causes linked files to be opened in new browser tab.
2014-07-16 15:03:09 +00:00
Nathan Gray
2785aed59c
Check if content is there before trying to look inside it.
...
Fixes "TypeError: Cannot read property 'id' of null" from mail dialog
2014-07-16 14:42:28 +00:00
Ralf Becker
5a6221ee63
fixed problems reported by LFRZ
2014-07-16 12:18:43 +00:00
Ralf Becker
9fa607c3bd
fixed problems reported by LFRZ
2014-07-16 12:18:04 +00:00
Stefan Reinhardt
6cf9017c26
pixelegg / less
...
change @import....
2014-07-16 11:31:26 +00:00
Ralf Becker
3557cd4ac8
fixed PHP Strict Standards: Declaration of etemplate_widget_*::set_attrs() should be compatible with etemplate_widget::set_attrs()
2014-07-16 06:51:33 +00:00
Nathan Gray
762d8a9c09
If link has a target, use that.
...
Causes linked files to be opened in new browser tab.
2014-07-15 19:19:36 +00:00
Hadi Nategh
061b4b9954
Specify et2_file and et2_vfs_btn classes for et2_link_to widget
2014-07-15 16:21:38 +00:00
Nathan Gray
10aa07b2fc
Fix extra options not used in read only select-account
2014-07-15 15:40:22 +00:00
Nathan Gray
67390bbcfa
Add HTML5 drag support for Chrome for all files in link lists
2014-07-14 22:34:55 +00:00
Nathan Gray
3b915de4cb
Grid row action enhancements:
...
- If row has a key 'id', set the egwActionObject id to match instead of just row_[i]
- Pass the row content in egwActionObject's data, so it's available during action processing
2014-07-14 20:47:52 +00:00
Nathan Gray
051befced5
Don\t
2014-07-14 14:18:32 +00:00
Nathan Gray
4104f793b2
Call applyFilters() function instead of setting directly, which skipped change detection.
...
Fixes selection not cleared when applying a favorite.
2014-07-14 14:11:41 +00:00
Nathan Gray
94b726f883
Don't remove request from POSTs, etemplate is still active client side.
...
Fixes etemplates stop working after downloading a file (merge print, zip, etc.)
2014-07-14 12:03:04 +00:00
Ralf Becker
c54e53d405
fixed PHP Strict Standards: Declaration of etemplate_widget_*::set_attrs() should be compatible with etemplate_widget::set_attrs()
2014-07-14 10:02:47 +00:00
Nathan Gray
8a36e40b10
Call applyFilters() function instead of setting directly, which skipped change detection.
...
Fixes selection not cleared when applying a favorite.
2014-07-14 09:59:02 +00:00
Ralf Becker
d1d743e4b9
fixed broken regular expression for multiple comma-separated values (dash in character class has to be last character!)
2014-07-13 09:15:29 +00:00
Ralf Becker
f011a6c3d1
fixed broken regular expression for multiple comma-separated values (dash in character class has to be last character!)
2014-07-13 09:14:58 +00:00
Hadi Nategh
80f1abf3a2
Try to use xmlDoc.responseText as xmlDoc.response might not be available in IE
2014-07-11 16:50:38 +00:00
Hadi Nategh
ef9409294c
Try to use xmlDoc.responseText as xmlDoc.response might not be available in IE
2014-07-11 16:49:45 +00:00
Hadi Nategh
1471def4b2
No need to use Microsoft.XMLDOM for IE anymore, since IE 7+ supports XMLHttpRequest object
2014-07-11 16:08:01 +00:00
Hadi Nategh
8f0dba15fe
No need to use Microsoft.XMLDOM for IE anymore, since IE 7+ supports XMLHttpRequest object
2014-07-11 16:07:02 +00:00
Hadi Nategh
b95f53f073
Try to get attribute with getAttribute method, IE does not support element dataset
2014-07-11 15:53:58 +00:00
Hadi Nategh
3e56f38995
Try to get attribute with getAttribute method, IE does not support element dataset
2014-07-11 15:52:43 +00:00
Hadi Nategh
9ae80ec4c1
Use getAttribute to get the data-group value to use it for toolbar sorting.\n\r -Fix group is undefined error opening mail in IE10
2014-07-11 12:57:47 +00:00
Hadi Nategh
a0bf45da93
Use getAttribute to get the data-group value to use it for toolbar sorting.\n\r -Fix group is undefined error opening mail in IE10
2014-07-11 10:38:36 +00:00
Ralf Becker
673ff54ebb
Brazilian translations from Guilherme Rocha guilherme-at-gf7.com.br
2014-07-09 19:41:32 +00:00
Ralf Becker
dbc6dbd7e1
Brazilian translations from Guilherme Rocha guilherme-at-gf7.com.br
2014-07-09 19:40:43 +00:00
Ralf Becker
2a6168a1c2
* Addressbook: fixed sorting of category tree
...
fixes not displayed cat-tree and validation error introduced with r47575
2014-07-09 11:18:47 +00:00
Nathan Gray
48016d16c0
Fix category tree sorting
2014-07-08 23:15:49 +00:00
Nathan Gray
a5b9173fc9
Handle multiple buttons in a single custom field
2014-07-08 20:13:51 +00:00
Nathan Gray
210ebb5706
- Add $$user/primary_group$$ common placeholder
...
- Add calendar_owner/<contact> sub-placeholders, including primary_group
2014-07-08 19:05:09 +00:00
Nathan Gray
b7a6e53163
* Added context menu to download all linked files in one zip file
...
As long as there are 2 or more files linked to the entry, you can download them all as a zip using the link list context menu.
2014-07-08 16:51:01 +00:00
Ralf Becker
2de7931700
* Admin: custom-fields were not loaded, account was edited from admin not addressbook
2014-07-08 15:05:20 +00:00
Ralf Becker
55722f4520
change default value for unset checkbox to be in line with old eTemplate, using "" that evaluates in PHP and javascript to false and not string "false"
2014-07-08 11:31:57 +00:00
Hadi Nategh
a1285433bd
Add alert method to et2_dialog in order to create alert dialog with optional arguments message, title and dialog type. Additionally, remove an not used argument from et2_dialog.confirm method
2014-07-08 10:29:59 +00:00
Ralf Becker
3d79bae09a
Brazilian translations from Guilherme Rocha guilherme-at-gf7.com.br
2014-07-08 09:57:42 +00:00
Nathan Gray
ed6013605e
If a custom field is added to the column list, invalidate known columns to get all new data back, in case app did not send custom fields in the first request. Fixes needing to reload after displaying custom fields in nextmatch
2014-07-08 04:21:02 +00:00
Nathan Gray
7a1d2dc0cd
Customfield lists need to create all widgets, so they can be enabled if the column is changed without re-doing the whole thing
2014-07-08 03:37:47 +00:00
Nathan Gray
760dc4b1d3
When update(true), also invalidate record change detection, to re-fetch all known rows
2014-07-08 03:35:55 +00:00
Nathan Gray
7eb528ee1f
Instead of replacing a dropped image with an error image, we'll remove it, and pass the image to the first et2_file widget with a drop target. That's not ideal, but it should work for us in most cases until CKEditor fully supports drag and drop.
...
(Firefox only)
2014-07-07 20:48:35 +00:00
Nathan Gray
08c10a70aa
Update Resumable from github, fixes some problems with setting et2_file value to a list of files in firefox.
2014-07-07 20:26:48 +00:00
Nathan Gray
1273955f9d
Allow possibility to include select all flag in url in addition to selected IDs
2014-07-07 16:46:16 +00:00
Nathan Gray
15ddeb2a24
- Avoid duplicate ID warning by only returning the value from the matching radio button
...
- Fix radiobuttons where the options/values were set in the template instead of sel_options
2014-07-07 16:19:37 +00:00
Hadi Nategh
296530b320
Fix etemplate2 submit() method for those buttons which they do not have nested ids
2014-07-07 13:25:20 +00:00
Nathan Gray
9ed54eb3fd
Drag & drop images don't work because of DB field sizes, so replace dropped images with error image so user knows right away it won't work.
2014-07-02 20:50:39 +00:00
Nathan Gray
4c5e36500a
Fix (?) the tough bug where app tab is closed, and nextmatch autorefresh generates an error after "this.getInstanceManager() is null"
2014-07-02 15:58:00 +00:00
Hadi Nategh
2c9ffb39b9
Override attchToDOM method in selectAccount, because chosen needs to be set after widget dettached from DOM (eg. validation error)
2014-07-02 14:36:47 +00:00
Hadi Nategh
6e4c7472fc
Make sure rows are bigger than 0 otherwise customfield CKEditor will get height of 0
2014-07-02 09:34:51 +00:00
Hadi Nategh
64329c4c0e
Add et2_label_empty class to textbox_ro widget if there is no content for the label
2014-07-01 16:18:01 +00:00
Ralf Becker
9c01142c22
margin between radio-button and its label
2014-07-01 16:04:01 +00:00
Ralf Becker
4ac94b2c01
remove label from readonly radiobutton, as we show label of checked option as value
2014-07-01 16:03:31 +00:00
Ralf Becker
96af6b8dba
removed padding from empty hbox child, eg. no postcode gives empty space in front of city in addressbook list
2014-07-01 15:56:09 +00:00
Nathan Gray
9562483697
Improvements to handle not yet existing links
...
- Can't view file info for non-existing file, so context menu item is disabled
- Fix setting a comment
- Fix loading class on delete & fetch title showing incorrectly
2014-07-01 00:22:13 +00:00
Nathan Gray
26f1e351f3
Apply missing font & size preferences
2014-06-30 21:28:03 +00:00
Ralf Becker
15fbd6bde8
fixed not working custom fields of type radio
2014-06-30 19:34:53 +00:00
Ralf Becker
d8b35e0a77
only join in extra table, if we really need it, to improve performance
2014-06-30 09:05:16 +00:00
Hadi Nategh
4471a45147
Add id to Add button for link-add widget
2014-06-27 14:05:00 +00:00
Hadi Nategh
7a3d0e50da
Fix error undefined to_app, and jquery UncaughtTypeError happens onclick handler
2014-06-27 13:27:18 +00:00
Klaus Leithoff
b633df95ec
translations from our translation server
2014-06-27 08:41:37 +00:00
Hadi Nategh
6d2582c22e
Remove added indentation by accident from commit 47388
2014-06-25 16:47:07 +00:00
Hadi Nategh
cab2ccdd29
Fix widget VFS button_caption translation
2014-06-25 16:26:59 +00:00
Nathan Gray
9a36c458e6
Try to fetch title if not passed
2014-06-24 21:45:13 +00:00
Hadi Nategh
c281f19568
Active translation for attribute button_caption of VFS widget
2014-06-24 15:18:55 +00:00
Hadi Nategh
545b35de5b
Declare a non declared variable which was messing with app global object
2014-06-24 12:40:25 +00:00
Ralf Becker
fe44c6bb5e
fixed not allways used category color, because regular expression missed every 2. category
2014-06-24 12:39:12 +00:00
Ralf Becker
d6ce36d735
bump versions to 14.1
2014-06-24 10:00:50 +00:00
Nathan Gray
866fbb65bc
- Refresh filter even if it's not dirty, since it changed
...
- Bind delete prompt to right click on link while avoiding conflict with action system
2014-06-23 17:17:34 +00:00
Hadi Nategh
3ec98b4d6f
Switch of the specified FF red border validation indicator
2014-06-23 14:43:12 +00:00
Ralf Becker
ffae12e240
* all apps: custom-fields are now stored in own egw_customfields table (no more limit on number), site configurations get now JSON serialized
2014-06-23 14:35:22 +00:00
Ralf Becker
ae19dff1d4
ignore stepMismatch html5 validation errors, the are generated for every float number
2014-06-23 14:31:47 +00:00
Ralf Becker
d4bb8a00a9
move et2_call method to egw.js to have it always available at window scope (it is NOT et2 specific), maybe we find a better/nicer place for it
2014-06-23 08:10:40 +00:00
Nathan Gray
ec476a96d7
Fix column selection not saved if columnselection pref setting had 'nextmatch-' prefix already.
...
Fixes infolog columns not being saved
2014-06-18 18:29:52 +00:00
Nathan Gray
0cffb46eab
Handle not existing links passed from server
2014-06-17 17:14:05 +00:00
Nathan Gray
2b1215af8b
If history tab is currently active, finish loading historylog widget immediately
2014-06-16 15:17:30 +00:00
Nathan Gray
aa249cb6a2
Add function to get currently active tab index
2014-06-16 15:16:59 +00:00
Ralf Becker
1cb00eb580
for unknown apps eg. "/apps/InfoLog" use "filemanager"
2014-06-16 13:19:07 +00:00
Hadi Nategh
2ff1107b78
Ignore favorite preferences which are not correctly serialized, and somehow are stroed in database. At the moment we just ignore them, but they stays in database, need to be watched closely to find the cause, though.
2014-06-13 16:03:16 +00:00
Ralf Becker
c0cfe3f320
readonlys was not namespaced in old eTemplate, therefore if we dont find data under current namespace, we look into parent (if there is anything namespaced, we will NOT look for parent!)
2014-06-12 14:22:39 +00:00
Stefan Reinhardt
dd689d5790
Search - in Header Navigation
...
etemplate = result + more
2014-06-12 10:34:39 +00:00
Ralf Becker
0b6fa2785b
allow to use numbers for attributes of type string, silently convert them to strings, fixes not working blur values for quantity in timesheet
2014-06-12 08:25:31 +00:00
Ralf Becker
febc2f8763
re-added validation for null as it is needed/used by widget-types other then duration
2014-06-12 07:51:41 +00:00
Nathan Gray
f3ba7f692f
Use custom field name to toggle row visibility, not order, as order doesn't always work.
2014-06-11 18:03:19 +00:00
Stefan Reinhardt
da0cb798e5
Search - in Header Navigation
...
etemplate = result + more
2014-06-11 14:50:21 +00:00
Hadi Nategh
6b91baf0cc
Make sure fav. sorted list is always an array, and append new favorite added to fav. sorted list
2014-06-11 14:42:27 +00:00
Ralf Becker
5a32a7d622
widgets should NEVER return null (eg. for empty), as server-side $preserv will overwrite it
2014-06-11 09:14:43 +00:00
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
d1d11c63df
Styles for gantt progress &weekend hightlight
2014-06-10 17:41:09 +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
Nathan Gray
0a1c0e5135
Do disabled check before grid name expansion, so disabled=!@grid_id will work
2014-06-09 19:24:48 +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
470cf39e94
Change validation to accept & validate numeric list IDs if include_lists is set.
2014-06-04 20:00:46 +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
Nathan Gray
ee7349f4f6
Fix missing path, prevented single selected address merge into mail from opening properly in popup
2014-06-04 15:41:24 +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
Ralf Becker
92fddc9c51
fixed validation of private custom-fields using a different name, eg. addressbook
2014-06-02 13:29:26 +00:00
Ralf Becker
b59585cf4b
fixed IDE warnings
2014-06-02 13:25:20 +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
79f7a8a6cf
Use popup mail compose window if default document is an email, same as non-default documents
2014-05-29 15:33:27 +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
Ralf Becker
9ed199261a
fix dialog and translations to allow messages with newlines
2014-05-27 12:11:09 +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
Nathan Gray
e5f1e3e473
Decode title before showing to user in list
2014-05-26 20:05:33 +00:00
Ralf Becker
9455efae32
added postSubmit=true to document actions in mime-type sub-menus, was there for all other cases already
2014-05-26 16:09:03 +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
Ralf Becker
090c6eb19f
only replace @ or $cont, no $row_cont as we dont know row, upload/selection of vfs attachments in mail fails otherwise
2014-05-22 12:15:11 +00:00
Ralf Becker
f203703e42
fixed changing of settings (eg. template set) did not work anymore reported by Christoph Kaulich
...
caused by always breaking reference from attribute values. Now reference is only broken, if attribute value needs expanding (because it contains @ or $)
2014-05-22 09:39:16 +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
cbd328eb55
htmlarea-widget in mode="ascii" looses or modifies content (<, >, <tag>) by calling html::purify on it, also fixed set_attrs to expand attribute values
2014-05-21 09:55:02 +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
Nathan Gray
02db5d0357
Don't send blank row option for read-only selectboxes. It's not needed, and can conflict with non-readonly (nm filter vs row)
2014-05-20 19:25:48 +00:00
Ralf Becker
bdba288048
fix ide warning
2014-05-16 09:31:18 +00:00
Ralf Becker
ec667b9c41
also implement r46958 server-side: get customfield_list to respect readonlys of single fields
2014-05-16 09:29:10 +00:00
Ralf Becker
281863ac29
get customfield_list to respect readonlys of single fields
2014-05-15 16:49:53 +00:00
Ralf Becker
bdbc22dd98
reverted r46410 calling header explicitly before navbar, causing navbar no longer being able to add stuff to header, eg. include javascript
...
and fixing idots_framework::navbar() to still call header, if $navbar_done is set
2014-05-15 09:41:31 +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
e1134224fc
Move gantt css to seperate link instead of including
2014-05-13 22:24:25 +00:00
Nathan Gray
33f264346a
Fix error deleting a favorite
2014-05-13 21:39:23 +00:00
Nathan Gray
bca1696866
Tell request not to get cleaned up, something changed
2014-05-13 20:11:06 +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
Nathan Gray
609d1df763
Expose key splitting publicly, so other code can use it
2014-05-08 16:14:41 +00:00
Nathan Gray
6ec24b1b50
Make sure app ObjectManager is there before trying to use it
2014-05-07 20:55:34 +00:00
Nathan Gray
3230554c01
Add a config setting 'assigned' to allow extending classes to provide assigned users in a way other than a specific entry field.
2014-05-07 20:54:53 +00:00
Nathan Gray
d80ef84012
Remove div from console, it's no longer useful
2014-05-07 16:35:51 +00:00
Ralf Becker
b111f5005b
fixed select-accounts show only part of users, caused by previously trying to extend now used array
2014-05-07 15:51:45 +00:00
Nathan Gray
354c030520
Work in progress on gantt chart:
...
- Gantt widget now supports context menu
2014-05-07 14:41:15 +00:00
Nathan Gray
30b300201e
Clear action manager, if present
2014-05-07 14:38:44 +00:00
Hadi Nategh
0691903105
Still need to translate empty_label in selectbox widget for cases like when we do have "options" as an extra item for select_options
2014-05-07 13:03:14 +00:00
Hadi Nategh
b3ebc04ae5
Fix missing "translate" sub-attribute for some other widgets "empty_label" attribute.
2014-05-07 12:23:02 +00:00
Hadi Nategh
c35968d4a6
No need to translate empty_label explicitly, as we have a "translate" sub-attribute to triger translation for an attribute
2014-05-07 12:12:25 +00:00
Hadi Nategh
a8278017ed
Fix missing translation for taglist's empty_label attribute
2014-05-07 11:06:47 +00:00
Ralf Becker
610e7e6e93
halfway fixed eTemplate(1) part of etemplate_widget_transformer, but then enabled old code in contact_widget again, as value is not yet handeled correctly by callback in contact_widget
2014-05-07 09:00:59 +00:00
Nathan Gray
4f2504aafc
Fix typo
2014-05-06 20:05:08 +00:00
Nathan Gray
b76ace01f5
Revert r46820 as it causes some widgets (tag list) problems.
...
Fix select account changing selectbox default instead.
2014-05-06 19:56:02 +00:00
Nathan Gray
33594b565d
Custom fields are not allowed to have a null value, since NULL is skipped by backend
...
Fixes bug where it was impossible to clear date cfs
2014-05-05 22:19:54 +00:00
Nathan Gray
c99f0ee32d
Fix bug in last select option fallback option, was getting value instead of options
2014-05-05 22:17:23 +00:00
Nathan Gray
4053d1a204
- Move function to find selectbox options to public, static so other widgets (read only selectAccount) can use it
...
- Fix selectAccount missing extra app-specific options
2014-05-05 17:25:01 +00:00