Commit Graph

101 Commits

Author SHA1 Message Date
Nathan Gray
8290224b7b Fix not able to un-select linked entry / select none 2014-01-31 16:30:59 +00:00
Nathan Gray
f8a361c0bc Make sure value is not padded with spaces 2014-01-20 13:59:58 +00:00
Nathan Gray
ae491c0810 Enable symlinking VFS files to not yet existing entries 2014-01-14 12:11:13 +00:00
Nathan Gray
29992a7fee Fix linking files to not-saved entries 2014-01-14 10:16:36 +00:00
Nathan Gray
603f063e00 Properly handle only-app set, with just an integer value 2013-12-11 23:11:33 +00:00
Nathan Gray
f5b02ccc21 Preserve selected application when clearing search, or it gets lost internally 2013-11-28 17:31:22 +00:00
Nathan Gray
0745db84bd Use current app to get around missing etemplate run rights 2013-11-13 23:47:01 +00:00
Nathan Gray
a4cad98e4c Skip request to make links if there are no links to make 2013-11-12 20:25:04 +00:00
Nathan Gray
a2faa9bd00 - Clean up some link sub-widgets to make them operate a little nicer / more consistently
- Check attrs for already existing select_options too, should speed up selectboxes a little more
2013-11-04 19:00:43 +00:00
Nathan Gray
dc01c61793 Fix up order of operations in link widget to stop setting value too early
Fixes "false" as text when value is provided in app:id format
2013-10-24 16:04:44 +00:00
Nathan Gray
5923aed2a8 Make link widget last selected app preference specific to each application 2013-10-23 19:51:43 +00:00
Nathan Gray
2524de6c74 Add link now remembers you last selected app 2013-10-21 16:32:07 +00:00
Nathan Gray
c25d73b435 Change link widget from edit to view, pass the parameters needed to open in the app's tab or popup, according to link registry 2013-10-21 15:39:09 +00:00
Nathan Gray
d271990b84 Prevent creating multiple sub-widgets if doLoadingFinished() is called more than once (eg in nextmatch header) 2013-10-16 22:39:41 +00:00
Nathan Gray
a30b656865 Fully support linking before entry is saved 2013-10-11 08:41:24 +00:00
Nathan Gray
8912d029a4 UI to support links on unsaved entries 2013-10-10 17:00:30 +00:00
Nathan Gray
e6f58c4d4b - Fix value rejecting array
- Better handling of no comment (null) on link
2013-10-10 14:43:54 +00:00
Nathan Gray
1a4a4fdded Always set value, not just title, in nextmatch so link gets updated 2013-10-08 08:26:59 +00:00
Nathan Gray
3816abc7a7 Fix %s in label of link widget 2013-10-08 08:19:42 +00:00
Nathan Gray
6e8723361d Fix typos 2013-10-02 11:34:11 +00:00
Nathan Gray
a8136aa191 Give filemanager selection a widget front-end. 2013-10-01 15:40:14 +00:00
Nathan Gray
83741673c3 Fix account/group select search dialog
- Broken group expansion
 - Broken styling / indents
 - Use unique IDs & data-id for account ID
2013-09-30 16:54:25 +00:00
Nathan Gray
3ae18c9a78 - Use a et2_dialog over native prompt for editing comments
- Use jsapi's egw.json() for ajax
2013-09-10 17:57:41 +00:00
Nathan Gray
6028ac8eca Drag & drop files from user's system onto nextmatch row uploads & links file to that row 2013-08-27 17:26:02 +00:00
Nathan Gray
42e66e9319 Fix detached label not updating 2013-08-14 17:35:50 +00:00
Nathan Gray
7e1a785615 Make whole edit dialog a drop target - files will be uploaded & linked
Done in the link widget, so any template with link-to should work.
2013-08-13 20:46:23 +00:00
Nathan Gray
f4a6c9859a More fixes forjQuery/jQueryUI update issues 2013-07-20 17:20:55 +00:00
Nathan Gray
a21f6aedfe Check to see if autocomplete is available before destroying 2013-07-20 13:51:12 +00:00
Nathan Gray
eb18408771 jQueryUI update changes where custom renderer hides 2013-07-19 09:31:00 +00:00
Nathan Gray
0c6f70005a Implement some basic client-side validation (required) 2013-06-26 20:50:10 +00:00
Nathan Gray
7fc6d7e24d Fix read-only display of links with application already set 2013-06-11 23:13:04 +00:00
Nathan Gray
d25d2d1b98 Fix link-entry widgets with only_app set losing value 2013-06-05 17:11:49 +00:00
Nathan Gray
cf0f1c9cd2 Implement no_files attribute 2013-06-04 23:05:31 +00:00
Nathan Gray
e948a270f6 Fix bug losing app when passing {app:... id:...} to link entry 2013-05-29 15:26:22 +00:00
Nathan Gray
7f669bc5f0 Save a jQuery call by just passing the row to remove 2013-05-27 23:21:13 +00:00
Ralf Becker
e64c4fbd04 add some JSDoc so Eclipse shows an outline: @memberOf and @augments (not yet understood by Eclipse), also fixed many warnings (mostly missing semicolons) 2013-04-13 19:00:13 +00:00
Nathan Gray
61ef8de61e Missed call to _super.destroy() 2013-03-26 15:47:31 +00:00
Nathan Gray
7a58f4c141 Fix up display issues in link widget (annoying link delete, hiding link button) 2013-03-20 18:26:18 +00:00
Nathan Gray
4efa3e8be5 If there's no ID, don't even ask for the title 2013-03-13 19:32:25 +00:00
Nathan Gray
aa07a243c1 Fix widget not allowed / DOM error in nextmatch-accountfilter 2013-02-08 10:38:09 +00:00
Nathan Gray
3fdce9467a Finish splitting only_app out of application list 2013-02-07 16:01:41 +00:00
Nathan Gray
6295f1a833 Link entry:
- Split application parameter into two, one for just one app, one for an app list
- Also return the contents of the search box in value (if not limited to just one app)
2013-02-06 08:06:11 +00:00
Nathan Gray
46421450f2 Ignore required, not applicable to read only link widget 2012-07-25 20:54:47 +00:00
Nathan Gray
fa69637b82 Silence some warnings, mostly about attributes 2012-07-23 23:54:16 +00:00
Nathan Gray
8c8171c88b Tighten up CSS a little 2012-07-11 19:01:06 +00:00
Nathan Gray
5da191b583 Add context menu item to directly open file information popup for linked file 2012-07-09 19:05:06 +00:00
Nathan Gray
6757828779 Add application legacy option 2012-07-09 16:54:58 +00:00
Nathan Gray
9a6e3d59a8 If two widgets have the same ID, and they both return objects as values (eg: link widgets) then merge the values instead of replacing 2012-07-04 22:41:51 +00:00
Nathan Gray
ff19062265 Use filemanager popup to allow linking to already existing files 2012-07-02 23:03:27 +00:00
Nathan Gray
b2817cf358 Add a button to allow linking to existing VFS files - work in progress 2012-06-26 23:01:04 +00:00