Nathan Gray
687d90c37a
Add different formatting for linked files when they're in sub-directories
2015-09-02 19:28:08 +00:00
Nathan Gray
a0c38411e9
Make sure link_entry & file_upload are still present before trying to destroy them.
...
Fixes hidden error when calling etemplate2.clear() with read-only link widgets.
2015-07-27 17:16:11 +00:00
Nathan Gray
43a1429804
Fix broken class attribute
2015-06-10 18:30:14 +00:00
Hadi Nategh
b0c7eb2650
Make readonly attribute available for link-to and link-list widget
...
- Implement tracker link_to to not give edit interface to user who has no edit access
2015-05-06 15:11:53 +00:00
Hadi Nategh
c9ef30367e
Only egw-data with no download_url should not get the click handler
2015-04-22 14:58:20 +00:00
Hadi Nategh
9b9313026f
Do not bind click handler on media mime type to be opened in expose view if there is no download_url(e.g. attachments of mail integration have no download_url befre they get saved)
2015-04-21 12:20:12 +00:00
Hadi Nategh
9c13096e67
A temporary fix for widget link_list because of none match server-side and client-side data structure
2015-04-16 08:26:53 +00:00
Hadi Nategh
ed092a5887
Trigger expose view by clicking on link-list's links
2015-04-02 08:37:13 +00:00
Hadi Nategh
5c944330c5
Expose link widget WIP:
...
- Implement expose view for link-string widget
- Adapt link-string widget, and other widgets which are using expose to download_href link
2015-04-01 16:51:18 +00:00
Hadi Nategh
ed2bed1b97
Fix click handler on links does not stop propagation, causes unwanted click event
2015-03-31 10:01:51 +00:00
Nathan Gray
ad070b221c
Fix file information action
2015-03-25 21:19:59 +00:00
Nathan Gray
5a4ed19e73
Make query callback parameters more useful (& documented) by passing the link widget instead of response
2015-03-12 16:22:45 +00:00
Hadi Nategh
0e4cb1bdb6
Make sure there is a property before triger to delete it, because IE complains about an undefiend object
2015-03-10 10:27:33 +00:00
Nathan Gray
b4671c6460
For saving links use similar file download code as filemanager uses, fixes unwanted navigation
2015-02-27 17:20:30 +00:00
Nathan Gray
286cca54e1
Fix link to no longer pre-selecting last used app
2015-02-17 16:27:29 +00:00
Hadi Nategh
be1d839686
Remove specific handling on link's caption to open expose view, although still we keep the handler on icon
2015-01-26 11:39:35 +00:00
Ralf Becker
2fbc91c5d9
fixed not saved comment on an existing file/attachment
2015-01-20 17:36:09 +00:00
Hadi Nategh
40cc063500
Create links with et2_vfs-mime widget for links which have mime type
...
- Links with accepted media type will be opened in expose view
2015-01-20 14:59:28 +00:00
Nathan Gray
aa526a3225
Fix bug where clearing the entered value would lose the selected application
2014-12-19 22:14:54 +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
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
fc66bfec63
Fix auto-selection of last used app (broken r48959)
2014-12-01 17:05:33 +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
4ed5c57364
Fix link list broken by r49319.
2014-11-10 16:24:09 +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
c917cbd865
Link enhancements:
...
- Add confirm dialog to delete link
- Log unlinking files into historylog
2014-10-29 23:03:35 +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
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
f5a71a635f
Complement to commit 48899, fixes error in IE11
2014-10-07 11:39:34 +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
b6c86c2df0
Don't try to delete not-existing attribute.
...
Hopefully solves error in IE.
2014-09-29 16:05:32 +00:00
Hadi Nategh
cc00102ef5
Make sure there's an app set, otherwise set it from top of the list
2014-09-26 09:22:07 +00:00
Nathan Gray
812518f72f
Fix unwanted apps showing in link-app
2014-09-24 16:15:24 +00:00
Nathan Gray
8cb9914d15
Change minimum characters to 4 to avoid long queries on large installs.
2014-09-09 14:13:47 +00:00
Ralf Becker
cf7f5fef7e
remove addressbook-email from app-list in link widgets
2014-09-03 12:53:43 +00:00
Hadi Nategh
ef6aed6579
Make sure we are getting the current appName
2014-07-30 15:12:05 +00:00
Hadi Nategh
ce6ac57f34
Correct "Save as Zip" icon in link widget contxt menu
2014-07-17 14:21:55 +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
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
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
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
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
Nathan Gray
9a36c458e6
Try to fetch title if not passed
2014-06-24 21:45:13 +00:00
Nathan Gray
0cffb46eab
Handle not existing links passed from server
2014-06-17 17:14:05 +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
a9e37042cb
Use js type for query & select callbacks and implement setter functions
2014-06-09 19:28: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