Commit Graph

1437 Commits

Author SHA1 Message Date
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
Ralf Becker
5e74e836f7 fixed wrong augmented class 2014-03-12 18:49:50 +00:00
Ralf Becker
6b09e93768 adding et2_url_span class to surrounding span 2014-03-12 18:48:59 +00:00
Nathan Gray
1c6abab9a8 Fix link activation to be able to handle the same link (or email address) multiple times in the content 2014-03-12 18:28:47 +00:00
Ralf Becker
46d4d3acce allow to optional prepend tabs by using prepend attribute on a tab in tabs array 2014-03-12 17:54:52 +00:00
Ralf Becker
ee97185b40 allow to specifiy optional cache-buster in template attribute ("?"+filemtime of template) 2014-03-12 17:42:29 +00:00
Nathan Gray
5f1dcfea57 Unbind handler used to toggle autorefresh 2014-03-12 17:09:56 +00:00
Hadi Nategh
8b326fb60f Move styling of date-durtation widget input field to specific class in etemplate2.css 2014-03-12 13:13:18 +00:00
Ralf Becker
db1244dc50 put favorites, counter and new header_row into one container (header_row_right) to float them all to the right, also removed lots of unnecessary css and fixed alignment 2014-03-12 09:47:40 +00:00
Nathan Gray
e7de92519a - Restructure nextmatch header markup
- Add new attribute header_row to place custom template inline inside nextmatch header
2014-03-11 21:54:19 +00:00
Nathan Gray
a1ae0bdb83 Add new method etemplate2.getById() to get etemplate object by DOM ID of container node 2014-03-11 15:28:18 +00:00
Ralf Becker
7bda46582d changed toolbar to have last action.id as value, when submitted to server 2014-03-10 21:14:02 +00:00
Ralf Becker
94f468095d disable favories dropdown button if not called from infolog (eg. CRM view) 2014-03-10 19:47:09 +00:00
Hadi Nategh
c43550a54b Add proper css class to date-duration widget 2014-03-10 15:20:40 +00:00
Ralf Becker
f55641e23a do NOT show required color on td, we want it just on input 2014-03-10 15:08:18 +00:00
Ralf Becker
83b20c2019 some changes to dtd and added otherwise implemented "readonly" attribute to inputWidget 2014-03-07 09:08:47 +00:00
Nathan Gray
96bc660ee3 Clear filters before applying header changes, to handle the case of nulled input, which would otherwise be skipped, and the old value filled in. 2014-03-06 22:09:40 +00:00
Nathan Gray
8a3cda964e Fix clearing date field does not fire change event 2014-03-06 21:17:37 +00:00
Ralf Becker
ee50a6b9bb fix to work correctly with actions containing only a string/caption, using action.execute() to get automatic confirmation from action system and defaulting to default actions (not all actions) if last action is dragged off 2014-03-06 18:38:02 +00:00
Ralf Becker
06ffa47c25 new "default_execute" attribute to set default onExecute for all actions 2014-03-06 18:35:57 +00:00
Nathan Gray
dbbad57f90 Fix selecting next entry when there are no others 2014-03-06 18:07:47 +00:00
Ralf Becker
5facfc02a1 fixed IDE warnings 2014-03-06 11:01:23 +00:00
Ralf Becker
6cdea51c9e when activating mailto-links/email addresses use mail app unless (addressbook-)preference says otherwise 2014-03-06 10:42:37 +00:00
Ralf Becker
f68a2ac1f5 fixed link activation in et2_description (activate_links parameter) to always use target _blank, also fixed docu in that extra_link_target is only for href attribute 2014-03-06 10:41:22 +00:00
Ralf Becker
e41fbe59ff using current app, if no or empty source given 2014-03-06 07:50:06 +00:00
Nathan Gray
5fa9a9c0d0 If categories get updated in a get_rows() call, clear the rowProvider internal cache so it uses the new values 2014-03-05 17:21:13 +00:00
Nathan Gray
bb3eb717c1 Refactor huge data fetch into chunks so long task doesn't die. 2014-03-04 20:35:41 +00:00
Ralf Becker
99e97d2bfc fixed Selecting an InfoLog category does not show this cat but "Loading" 2014-03-04 17:27:19 +00:00
Ralf Becker
3e13b3f77b use app[appname].setState if available to allow app to overwrite it (eg. change to non-listview in calendar) 2014-03-04 17:00:27 +00:00
Ralf Becker
84c611cb2c fixed click on favorite (funnel) always resets all filters, not change to default favorite selected via radio buttons 2014-03-04 16:27:20 +00:00
Ralf Becker
947c2f0462 not visible nextmatch will run refresh when it becomes visible again (not just ignoring it) 2014-03-04 16:05:38 +00:00
Ralf Becker
ef7c2e5faa fix IDE warnings 2014-03-04 15:08:34 +00:00
Ralf Becker
5af397132a fixed opening of addressbook entries sometimes fails after searching: caused by not detected filter change and kept, but no longer displayed selection
JSON.stringify(this.controller._filters) == JSON.stringify(this.activeFilters) seems always true, like if it is a reference and not the old state
changed code not to change activeFilters only by calling applyFilters with requested change and detecting there if we have a change
2014-03-04 13:49:33 +00:00
Hadi Nategh
1e449f571a Bind a click handler to collapse the toolbar menulist when click event occurs 2014-03-04 11:03:03 +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
d2b2f71058 If select all + long task, fetch all from the server or else it will just run on what's in the grid. 2014-03-03 23:24:05 +00:00
Nathan Gray
38e6e353fd Avoid error when clicking on a link with just title 2014-03-03 22:29:44 +00:00
Nathan Gray
e6d6c3c270 Fix nextmatch sort header does not indicate sorted column after reload. 2014-03-03 21:25:00 +00:00
Nathan Gray
b7c989adf8 Use grid's deleteRow() in combination with setTotalCount().
Fixes deleted row remaining, breaking grid after update(), (first row remains after changing filter)
2014-03-03 17:32:12 +00:00
Ralf Becker
2a06876b78 widget to display an application icon 2014-03-03 16:50:01 +00:00
Ralf Becker
aa850d24fc implemented account_type: (accounts|groups|both) option for taglist-account as available in select-account widget 2014-02-28 16:52:42 +00:00
Ralf Becker
1de16f8a6a fix numerical ids in taglist-account, without need to supply them from server-side 2014-02-28 14:24:01 +00:00
Nathan Gray
9a7033ece9 Fix bug in calculating readonly based on parent. Fixes readonly templates still having editable content. 2014-02-27 21:26:10 +00:00
Nathan Gray
a7c306d649 Prefer custom dataStorePrefix, if set, over appname for UID 2014-02-27 19:38:30 +00:00