Commit Graph

1480 Commits

Author SHA1 Message Date
Nathan Gray
8ca9f9a469 Store internal reference to CKEDITOR instance, fixes Uncaught TypeError: Cannot read property 'on' of undefined 2014-04-07 22:20:30 +00:00
Nathan Gray
1ca9b134f9 Fix typo causing extra selection after delete 2014-04-07 20:57:59 +00:00
Nathan Gray
2e72b12452 Only email addresses in mail app need the hover popup, so move it into mail app. 2014-04-07 19:25:17 +00:00
Nathan Gray
76357f3451 Fix no_filter[2] nextmatch attribute not applied when set in template 2014-04-07 19:07:10 +00:00
Nathan Gray
0f94764857 Don't do an email address hover in addressbook - they're already a contact if they're in addressbook 2014-04-07 16:18:56 +00:00
Nathan Gray
0c220389fb Remove click handler from read-only account widget 2014-04-07 14:59:01 +00:00
Nathan Gray
99023a7812 If initial rows has no rows, add an empty row placeholder.
This way add context menu items work without clicking search first.
2014-04-07 14:44:52 +00:00
Nathan Gray
f6f2a883f0 If UID prefix is not set by the application, set dataStorePrefix automatically once and use it, instead of calculating it (different ways) each time. 2014-04-03 15:23:05 +00:00
Nathan Gray
1dcb1a9065 Fix bug causing long task to fetch the same 200 ids repeatedly 2014-04-03 14:33:01 +00:00
Nathan Gray
68ee717d0f Fix occasionally missing click handler 2014-04-02 23:31:01 +00:00
Ralf Becker
ce3c5c897f stop server-side validation errors, if submit was with no_validation 2014-04-02 19:30:33 +00:00
Nathan Gray
734b5d02f2 Add a parameter for submit() to skip the client-side widget validation 2014-04-02 18:49:43 +00:00
Nathan Gray
d5c810d5c4 If nextmatch starts hidden (or disabled) it won't size correctly.
Added a resize if enabling a disabled nextmatch so it re-calculates its size.
2014-04-02 15:16:12 +00:00
Nathan Gray
ad3e1e5021 Cast legacy options to string, in case someone passed in a number or something.
Fixes error loading tracker configuration with queue other than all.
2014-04-02 14:43:23 +00:00
Nathan Gray
210dea829b Avoid big scary error if server tries to assign on an unloaded etemplate.
Log a little friendly warning instead.
2014-04-01 21:42:06 +00:00
Nathan Gray
0377dbe076 Use tree's ActionManager for new ObjectManager, fixes "Action object with id 'mail_drop_move' does not exist" 2014-04-01 21:32:06 +00:00
Nathan Gray
d3c0314b4d Switch AJAX upload library to Resumable for chunked uploads. 2014-04-01 20:48:40 +00:00
Ralf Becker
e30adcba12 indention 2014-04-01 14:14:56 +00:00
Nathan Gray
de2f05ee27 If link is for just 1 id (normal case), then don't use an array for ID 2014-03-31 18:20:54 +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
9d8304a70e Fix typo preventing proper display of custom field column for some templates 2014-03-31 17:26:10 +00:00
Nathan Gray
ae940d9174 Fix for nextmatch header setFilters()
- Add flag to prevent widget change events from triggering an applyFilters() call
Fixes custom date filters causing extra calls and resetting other column filters.
2014-03-31 15:49:36 +00:00
Ralf Becker
dfc5a8222e using !egw.app(appname) to check if user has no run-rights for appname 2014-03-28 13:09:21 +00:00
Ralf Becker
61f25c05ff fixed direct access to (not longer existing) egw.userData.apps[app] by using method egw.app(app) 2014-03-28 08:46:54 +00:00
Nathan Gray
5e6d19568d Add a popup on hover to every read-only url-email widget.
Popup gives an option to add the email to a new contact
2014-03-26 23:25:43 +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
869bf62108 Improve handling of changing actions in a nextmatch response:
- Also (re)set default action on new actions
- Avoid extra actionManagers
2014-03-26 14:55:06 +00:00
Nathan Gray
b93286a467 Don't call finish or change callbacks if upload fails 2014-03-25 21:03:35 +00:00
Nathan Gray
2f90f3d427 Fix changed actions only partially updated, missed _actionLinks in controller 2014-03-25 18:34:00 +00:00
Nathan Gray
7ef65b30d6 Fix expand_multiple_rows button to only be added once 2014-03-25 15:20:05 +00:00
Ralf Becker
7d7436e54b fixed javascript errors happening if config was not loaded 2014-03-25 12:23:06 +00:00
Nathan Gray
2e6dea62d6 Fix some bugs in selectAccount with rows not set, but multiple on
- Fix opening single select search dialog instead of multiple (cleared previous selection on OK)
- Fix double user / groups in selected list
2014-03-24 20:20:25 +00:00
Nathan Gray
b16c32714a - Some documentation
- Fix bug ignoring nextmatch-sortheader's sortmode attribute
2014-03-24 19:30:29 +00:00
Ralf Becker
bfac67cc17 fixed et2_number was not reacting on size attribute 2014-03-24 18:43:45 +00:00
Nathan Gray
b6cf2762c3 egw tooltips aren't supported in nextmatch rows, so set field title for custom field list when not shown as separate column. Also set data attributes, if anyone wants to try some fancy styling. 2014-03-24 18:00:09 +00:00
Klaus Leithoff
94ff3e1966 handle special egw-open param for nextmatch action when from=merge is involved (params meet different preconditions then) 2014-03-24 08:23:22 +00:00
Hadi Nategh
dd95ab16cc * etemplate|widget_file: Make widget_file stylable 2014-03-21 16:27:09 +00:00
Ralf Becker
ac18b6cc8d changed et2_core_inheritance.js to implement ClassWithAttributes extending Class from egw_inheritance and changed et2 objects to use ClassWithAttributes when required (also fixed lots of IDE warnings / added docu) 2014-03-20 09:40:37 +00:00
Nathan Gray
69f4d67d38 Test that the autorefresh timer is still going before binding, tab may have been closed 2014-03-19 20:11:03 +00:00
Nathan Gray
133c4a317c Fix bug in using knownUIDs where empty rows were left or too many removed when the count changed 2014-03-19 19:19:34 +00:00
Ralf Becker
f2e997d445 replace first parameter "%1" with "%s", to allow to use regular lang syntax as well as eTemplate one 2014-03-19 12:39:10 +00:00
Nathan Gray
4a5d906e48 Enable using knownUIDs and lastModification timestamp to avoid sending unchanged rows back to client 2014-03-18 22:54:14 +00:00
Nathan Gray
3f49db5fb9 Handle values set but not in select_options 2014-03-18 14:52:31 +00:00
Ralf Becker
f1d7dd7a0e fixed readonly selecbox not always found options, caused by it not expecting options to be an array. Now we always preserv type of options (array or object) and correctly iterate over them when trying to find an option by its value 2014-03-18 14:41:23 +00:00
Ralf Becker
eaaad85521 reverted r42883: Make sure there is a "None" option if the select-account is not required so user is not forced to pick an account
--> if "None" option is wanted, it should be added to template, that is the logic in regular select box too
2014-03-18 13:22:15 +00:00
Nathan Gray
b0db615411 - Fix taglist account infinite loop when looking for accounts (using link title system instead of data source)
- Don't search server side if there's no query string
2014-03-17 23:03:24 +00:00
Nathan Gray
f337d45b29 Fix taglist-account not suggesting anything by making sure select_options don't get set. 2014-03-17 20:24:34 +00:00
Ralf Becker
250d2f813a fixed wrong autocomple url cauased by webserver_url just "/egroupware" and set more reasonable default of allowFreeEntries: false for taglist-accounts 2014-03-17 15:29:58 +00:00
Nathan Gray
fe21f0fd74 Enhance nextmatch entryheader to return full value if it's anything more than a simple, single selection so we can handle it server side. 2014-03-13 18:58:59 +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