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
Nathan Gray
34a382be2b
Implement detached labels
2014-05-12 21:49:48 +00:00
Hadi Nategh
e8e3de984a
Wrap content in link-add with span
2014-05-09 15:54:11 +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
8fb542465f
Remove extra comment field from link widget, as we have another one in context menu
2014-04-15 11:34:50 +00:00
Nathan Gray
68ee717d0f
Fix occasionally missing click handler
2014-04-02 23:31:01 +00:00
Nathan Gray
dcf0cf4e95
If link is for just 1 id (normal case), then don't use an array for ID
2014-03-31 18:20:38 +00:00
Nathan Gray
24fd900626
Fix multiple request problem
...
- actually pass delay to autocomplete, it works better that way
- track previous request, and abort it if another one needs to be started
2014-03-26 17:55:50 +00:00
Nathan Gray
a0caff3b6a
Javascript split() doesn't work like PHP explode() - fixed to not lose extras
2014-03-13 18:56:51 +00:00
Nathan Gray
5abc2eceef
Fix broken delete of link when to_id is not set (not saved entry)
2014-03-04 00:26:42 +00:00
Nathan Gray
38e6e353fd
Avoid error when clicking on a link with just title
2014-03-03 22:29:44 +00:00
Ralf Becker
e24c721409
remove links user has no rights to view (were shown as "false" befor)
2014-02-26 17:38:43 +00:00