Commit Graph

1868 Commits

Author SHA1 Message Date
Hadi Nategh
9e768dcaac Stop taglist's ancestor change event from bubbling on taglist 2014-12-16 17:06:42 +00:00
Hadi Nategh
0f32084f8d Bind onchange handlers of taglist options only to magicsuggest selectionchange, avoid unwanted triggered inputWidget parent change 2014-12-16 14:22:54 +00:00
Nathan Gray
bf89266ddc Only require one radiobox to be set, checked by ID 2014-12-15 20:54:30 +00:00
Ralf Becker
cc71329be0 fix categories in admin sometimes change color after search 2014-12-15 17:46:21 +00:00
Nathan Gray
4d34079576 Some more type checking before use to avoid errors 2014-12-11 18:02:08 +00:00
Ralf Becker
36699ed54b fix javascript error stalling Home for _val===undefined 2014-12-11 17:02:52 +00:00
Ralf Becker
012eee4594 fix javascript error stalling Home for _val===undefined 2014-12-11 16:59:46 +00:00
Nathan Gray
3474836244 Fix files selected from filemanager before entry is saved do not show in link list until entry is saved. 2014-12-10 17:58:42 +00:00
Hadi Nategh
dec43dd938 Fix typo from commit #49813 2014-12-10 15:59:34 +00:00
Hadi Nategh
a94f892219 Fix mobile framework popup not showing up the close botton 2014-12-10 15:53:28 +00:00
Ralf Becker
e2ad7fe20d * all apps: custom field attribute length only sets visible length, to set maximum length specify rows=1 2014-12-10 14:35:08 +00:00
Hadi Nategh
be3dff7c30 Implement framework specific get_excessHeight to be able to calculate excess height correctly for each framework window 2014-12-09 16:07:51 +00:00
Hadi Nategh
dfe03c8531 Resize the initial resize after everthing is loaded immediately 2014-12-09 11:20:38 +00:00
Nathan Gray
323d276fa6 Slight performance improvement on rendering elements with many children. 2014-12-08 20:38:48 +00:00
Nathan Gray
6eb5fead04 Fix multiselect/taglist values not properly set if value is an object instead of an array
- Fix to handle strings and nulls too
2014-12-08 20:01:15 +00:00
Nathan Gray
68151ad8e7 Fix multiselect/taglist values not properly set if value is an object instead of an array 2014-12-08 18:14:00 +00:00
Hadi Nategh
0607b60bc9 Set a timeout to window resizer to make sure this happens after other resize events, hopefully fixes the timing issue 2014-12-08 17:04:41 +00:00
Ralf Becker
052a1e8d9f do NOT add default placeholder-action of "add", if there is no such action, stalls new apps using nextmatch by default 2014-12-08 15:58:22 +00:00
Ralf Becker
dbdb0b440d missing translation of blur text in textbox 2014-12-08 15:57:06 +00:00
Ralf Becker
173192f879 remove 0=off in NM column-selection, to show empty-label "Refresh" instead 2014-12-08 13:16:51 +00:00
Hadi Nategh
8203d5f695 Use appHeader outerHeight for resize calcualtion 2014-12-08 12:24:21 +00:00
Hadi Nategh
ee6754b75c Take AppboxHeader into account for dialog resize height calculation 2014-12-08 10:51:34 +00:00
Hadi Nategh
1869e94f84 Popup resize handler enhancement:
- Fix multi-line textbox resizing
- Introduce tab_height to tab widget and remove extra height set on tab containers children
- Let mail compose uses its own resize handling as it deals with some special resizing
2014-12-05 17:29:41 +00:00
Hadi Nategh
14230d10f7 Make sure there's string to be replaced 2014-12-05 11:04:42 +00:00
Ralf Becker
9b5c68f743 hidden widget to transport content from server to client and back, thought server to client could easier be done by accessing content via content array manager 2014-12-05 08:59:51 +00:00
Hadi Nategh
e8d1c874e6 Implement resize handler callback for widget in order to resize widget properly after the window size changes 2014-12-04 16:38:34 +00:00
Hadi Nategh
b4ad7f8543 Bind swipe handler on grid view in order to be able to select nm rows on touch devices via swipe left/right 2014-12-04 16:35:17 +00:00
Nathan Gray
46bcd3df8a Automatically set focus to first input 2014-12-03 23:43:34 +00:00
Nathan Gray
a2e0e45a64 Avoid invalid characters in DOM IDs.
Fixes missing comments, occasional errors in link comments.
2014-12-03 22:14:03 +00:00
Nathan Gray
ae257d8c98 Set focus to first input when loading a template into dialog 2014-12-03 22:11:24 +00:00
Nathan Gray
2eb7795061 Fix missing translation on Add current 2014-12-03 17:53:40 +00:00
Nathan Gray
e06e8d4c32 Fix sorting, needed to turn off order by branch. 2014-12-03 16:23:21 +00:00
Ralf Becker
e4ac846d2a add blur attribute to date-widget 2014-12-03 16:23:10 +00:00
Nathan Gray
65a9b4c79c Avoid errors if getWidgetById() is called on a cleared widget / template 2014-12-03 00:16:39 +00:00
Nathan Gray
fb4482afe6 Some more width for custom field textboxes so they're not so small 2014-12-02 22:37:15 +00:00
Ralf Becker
4d80104403 allow to disable date widget with set_readonly on run-time 2014-12-02 17:19:13 +00:00
Nathan Gray
fc66bfec63 Fix auto-selection of last used app (broken r48959) 2014-12-01 17:05:33 +00:00
Ralf Becker
8a9657541d moving egw_openWindowCentered() to egw(window).openPopup() 2014-12-01 10:45:24 +00:00
Nathan Gray
f3c3fedf32 If the current application does not own the template, load the javascript for the current application and the application owning the template. (Gets actions working reliably in home) 2014-11-28 17:34:38 +00:00
Ralf Becker
010054bd97 fixed not working view_range (max. number of buttons to show incl. label) 2014-11-28 14:45:45 +00:00
Nathan Gray
8c5ea8eba9 More Home progress:
- Remove app header from addressbook
 - Always load app's CSS for single entry
2014-11-27 18:31:08 +00:00
Hadi Nategh
7c3f8d10d6 Missing code from commit r49612 2014-11-27 17:29:44 +00:00
Ralf Becker
5bed0cdf77 fix not working dragging images into CKEditor of mail compose in FireFox 2014-11-27 13:44:50 +00:00
Nathan Gray
dd0e95d232 More Home progress (favorites):
- Put show header button into header
 - Fix mixing columns between multiple favorites on home
 - Fix changing column spacing when hiding header
 - Fix add favorite from context menu didn't load properly
2014-11-25 21:50:42 +00:00
Nathan Gray
b967548cb5 More Home progress:
- Favorite now hides whole header
 - Link thumbnail now just setting width to avoid distortion
 - File thumbnail no longer limited, using full size thumbnail from site configuration or widget width, whichever is smaller
 - Fix links were using edit instead of view
2014-11-25 00:45:14 +00:00
Nathan Gray
f8b09fa7e8 Stop trying to set dataset directly, caused error in Firefox 2014-11-25 00:41:56 +00:00
Nathan Gray
fd191888bb Fix missing empty label when no value in readonly selectbox 2014-11-24 19:58:59 +00:00
Ralf Becker
0da238155c dont allow to insert html 2014-11-21 11:18:42 +00:00
Hadi Nategh
3e6a7a7ba4 Make sure the removing class of progress dropdown list is happening before customized onFinish called by et2_call, because it may loses its context after call 2014-11-21 08:58:58 +00:00
Nathan Gray
44595fe931 - Apply user's gantt sort preference
- Add sort by end date preference
2014-11-19 22:57:39 +00:00
Nathan Gray
b626fd1a88 Home progress:
- Fix missing size for new widgets
- Different styling for single entries
- Custom template for single addressbook entries
- Hideable nextmatch header
2014-11-18 23:46:58 +00:00
Nathan Gray
08708664b3 If one application uses a template from another, notify the application that loaded the template, not just the application that owns it. 2014-11-18 23:10:41 +00:00
Nathan Gray
370577e763 Make sure color doesn't get paths confused, be more specific about it 2014-11-18 22:42:48 +00:00
Nathan Gray
e75c584aad Fix resize dimensions off by padding amount (just added padding to resize grid) 2014-11-18 15:56:40 +00:00
Nathan Gray
ece1ccff43 Fix a bug in automatic drag and drop -> link support detection that gave DnD to apps that couldn't handle it. 2014-11-17 20:28:21 +00:00
Ralf Becker
275d733c22 fix customfield type "button" without any value stalls whole addressbook 2014-11-14 12:38:40 +00:00
Ralf Becker
e923931fda catch exception from unparsable date and display it empty instead 2014-11-12 19:23:47 +00:00
Nathan Gray
872a11bfdb Home progress:
- Fix some incorrect sizes on new portlets
- Fix mainscreen message
- Base for using other app favorites on home screen
2014-11-11 23:07:35 +00:00
Nathan Gray
af1bf822a9 Provide missing context, fixes unwanted unregister of all callbacks instead of just the ones for that nextmatch 2014-11-11 22:51:54 +00:00
Nathan Gray
4ed5c57364 Fix link list broken by r49319. 2014-11-10 16:24:09 +00:00
Nathan Gray
cbbb0bf39f Some WIP on getting home working again 2014-11-06 21:40:03 +00:00
Nathan Gray
f0d4523de1 Add support for link change handler, better support for not saved links 2014-11-06 21:31:11 +00:00
Nathan Gray
2232895b39 Let color be cleared (null wouldn't be returned) 2014-11-05 23:24:02 +00:00
Ralf Becker
026e93a0c4 use template base url from initial template, to continue using webdav, if that was loaded via webdav 2014-11-05 13:07:13 +00:00
Hadi Nategh
975a3fd2d5 Fix placeholder in taglist 2014-11-04 13:18:20 +00:00
Nathan Gray
9a7d087824 Fix missing icon for link action 2014-10-30 22:14:07 +00:00
Ralf Becker
1c6524cf0b remove upper limit of number of characters at last domain-part to allow new domain-names like .hamburg 2014-10-30 13:20:04 +00:00
Nathan Gray
c917cbd865 Link enhancements:
- Add confirm dialog to delete link
- Log unlinking files into historylog
2014-10-29 23:03:35 +00:00
Hadi Nategh
94a8b6e87b Get taglist working properly again with updated magicsuggest 2014-10-29 11:07:35 +00:00
Nathan Gray
2d149394ae * Add clear button to nextmatch search box for Firefox 2014-10-28 16:37:55 +00:00
Ralf Becker
4acbbf81c1 fix IDE warnings 2014-10-23 12:47:51 +00:00
Ralf Becker
5549dd1fd2 * InfoLog: "No filter" favorite was not resetting filters anymore 2014-10-23 12:42:24 +00:00
Nathan Gray
29f84a83f9 If link is missing needed information so it won't work, don't look like a link 2014-10-21 16:32:47 +00:00
Hadi Nategh
9b05ccc4ad Show both date and time for before today time.
- Fix mails in the list not showing date and time under date column.
2014-10-20 13:27:44 +00:00
Hadi Nategh
96d9f14d12 More progress of commit r49059 2014-10-20 11:41:59 +00:00
Nathan Gray
24b5779210 Better styling for planned times so early tasks can be seen too. 2014-10-17 17:17:23 +00:00
Ralf Becker
15bc2f3ade change tab loading again to initialise visible tab immediatly and gard et2_color / jPicker against being initialised twice 2014-10-17 11:37:15 +00:00
Nathan Gray
bdecd27961 Show planned times on gantt chart while editing real times 2014-10-15 22:22:49 +00:00
Nathan Gray
ce65365049 * Support export Gantt chart to PDF and PNG using DHMTLX's service 2014-10-14 22:58:56 +00:00
Ralf Becker
83b6706964 * Timesheet: fix (un)setting project for adding, editing and save&new timesheets
- fixed et2_widget_textbox to update options.blur in set_blur(), as it is used in getValue, also updating input
- fixed et2_widget_linkentry to trigger change event, after reacting to click on X in search
- fixed timesheet to handle ts_project and pm_id in bo (ts_project is always stored in db for searching, even if it contains no custom project name)
- fixed not working change of project in an existing timesheet
- fixed unsetting of project
2014-10-14 15:58:37 +00:00
Hadi Nategh
b542033f8d Make sure the class name used as identifier has no invalid chars 2014-10-13 10:06:30 +00:00
Ralf Becker
026347ba2f disabling immediate direct call to loadingFinished() for selected tab seems to have no recognisable impact
and some widgets, eg. color-picker have problems with calling doLoadingFinished twice
2014-10-13 09:07:23 +00:00
Hadi Nategh
b0e4655eff Give widget color dialog unique class in order to identify it later for binding click handler to picker span.
-Fix the bug, color picker opens other colorpickers dialog which are in the same template.
2014-10-10 12:40:41 +00:00
Ralf Becker
178bca7f7a fix redirect loop initiated eg. by saving a mail, caused by document.location=url triggering etemplate unload handler and destroying et2 request, identical redirect url detected by jdots framework causes refresh via nextmatch --> next redirect 2014-10-08 20:02:59 +00:00
Nathan Gray
2ca305b5cc Remove auto refresh options for 30 seconds and 1 minute, as apparently they cause problems with mail.
Add auto refresh options for 15 and 30 minutes.
2014-10-08 17:27:39 +00:00
Nathan Gray
5e9676e770 Fix broken relative width calculation after r48947. 2014-10-08 17:10:58 +00:00
Ralf Becker
76dbe08207 * all apps: custom fields of type "float" allow to specify maxlength,size,min,max comma-separated in length field 2014-10-08 10:45:55 +00:00
Ralf Becker
3edc0f3080 revert r48945, as it break for some conditions 2014-10-08 09:07:01 +00:00
Ralf Becker
1c9a14159e * Mail: allow to enter name+mail eg. "Ralf Becker <rb@stylite.de>" in compose, automatic fix unquoted commas in entered mail addresses 2014-10-08 09:01:51 +00:00
Nathan Gray
7fe36b289b Fix relative columns width preference not saved as relative width 2014-10-07 22:59:55 +00:00
Nathan Gray
7111e0bb83 Change email regex to allow email addresses of the form "Ralf Becker <rb@stylite.de" 2014-10-07 22:27:27 +00:00
Nathan Gray
e674c5aa5b Partially revert r48812, seems it didn't help entry widgets but it did cause problems with preferences 2014-10-07 21:16:18 +00:00
Hadi Nategh
f5a71a635f Complement to commit 48899, fixes error in IE11 2014-10-07 11:39:34 +00:00
Nathan Gray
06369b922a Fix typo resulting in all not being processed. 2014-10-06 21:31:14 +00:00
Nathan Gray
fe4cdcb1d1 Trim email addresses to avoid validation errors 2014-10-06 21:17:37 +00:00
Nathan Gray
e4e869953f Save some processing by preventing API from fetching UIDs, which aren't applicable here. 2014-10-06 20:10:07 +00:00
Hadi Nategh
b7229cdcdf Make sure options are available before getting access to its properties 2014-10-06 15:47:22 +00:00
Nathan Gray
d3cde1efb4 Check that options are there before using.
Hopefully fixes bug in IE11.
2014-10-03 16:48:48 +00:00
Nathan Gray
b1e77ca062 Add some handling to allow ID to be different from the value source by allowing the value attribute to point to the value. 2014-10-01 17:29:22 +00:00
Nathan Gray
0eb14c1dc1 Implement comparison and alternate fields 2014-10-01 16:49:26 +00:00