Commit Graph

3807 Commits

Author SHA1 Message Date
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
c35968d4a6 No need to translate empty_label explicitly, as we have a "translate" sub-attribute to triger translation for an attribute 2014-05-07 12:12:25 +00:00
Hadi Nategh
a8278017ed Fix missing translation for taglist's empty_label attribute 2014-05-07 11:06:47 +00:00
Ralf Becker
610e7e6e93 halfway fixed eTemplate(1) part of etemplate_widget_transformer, but then enabled old code in contact_widget again, as value is not yet handeled correctly by callback in contact_widget 2014-05-07 09:00:59 +00:00
Nathan Gray
4f2504aafc Fix typo 2014-05-06 20:05:08 +00:00
Nathan Gray
b76ace01f5 Revert r46820 as it causes some widgets (tag list) problems.
Fix select account changing selectbox default instead.
2014-05-06 19:56:02 +00:00
Nathan Gray
33594b565d Custom fields are not allowed to have a null value, since NULL is skipped by backend
Fixes bug where it was impossible to clear date cfs
2014-05-05 22:19:54 +00:00
Nathan Gray
c99f0ee32d Fix bug in last select option fallback option, was getting value instead of options 2014-05-05 22:17:23 +00:00
Nathan Gray
4053d1a204 - Move function to find selectbox options to public, static so other widgets (read only selectAccount) can use it
- Fix selectAccount missing extra app-specific options
2014-05-05 17:25:01 +00:00
Nathan Gray
e004e23c31 If the default is an object, use a clone of the default value to prevent widget from accidentally changing the default by reference 2014-05-05 17:22:25 +00:00
Ralf Becker
ed85cc3ce6 allow apps to supply own etemplate_widget_transformer extending widgets 2014-05-05 16:05:39 +00:00
Hadi Nategh
098de471cd No need to overwrite the "beforeSendToClient" method for date widget, because we are handling date/time conversion on client side 2014-05-05 14:11:00 +00:00
Hadi Nategh
62fa190439 Handle converting string date/time formats to Date object for date-time widget 2014-05-05 14:09:47 +00:00
Hadi Nategh
b5357e23eb Add css class for vfs-select button caption. Additionally, re-arrange link_to widget styles for all app link tabs 2014-04-30 11:02:13 +00:00
Hadi Nategh
e85816cce9 Add button caption to vfs-select widget 2014-04-30 10:52:27 +00:00
Nathan Gray
d828eefaeb Fix missing column filters after loading template(s) 2014-04-29 19:05:55 +00:00
Hadi Nategh
bf19f45705 Put spaces between selectBoxes in link widget 2014-04-29 13:20:50 +00:00
Nathan Gray
e6c32bf765 Avoid vertical scrollbar, dynheight takes care of height now 2014-04-28 23:10:41 +00:00
Nathan Gray
785ed4e4c1 Round dates to grid scale, avoids potential infinite loop in the other method 2014-04-28 23:05:26 +00:00
Nathan Gray
1aee6f3bed Enhance auto-popup to only show visible buttons 2014-04-28 20:20:54 +00:00
Hadi Nategh
c912849bd5 Apply favorites sortable feature to sidebox fav. menu 2014-04-25 07:37:11 +00:00
Hadi Nategh
334c66d203 Set select_options for <listbox> widget type of "select-account" with egw->accounts client-side method 2014-04-24 11:49:39 +00:00
Nathan Gray
ba8bfa1b6a Gantt chart work in progress
Filters, ajax fetching, double click (edit) callback
2014-04-23 22:18:05 +00:00
Nathan Gray
4f2f64fcbe Automatically disable custom field column if there are no custom fields 2014-04-23 20:39:22 +00:00
Nathan Gray
48fa6611f3 Use a single client-side cache for account selection so we don't have to send it for every widget 2014-04-23 19:00:59 +00:00
Nathan Gray
f5297f17a7 Add a get_value() function to allow access to values outside of callback 2014-04-23 16:44:01 +00:00
Hadi Nategh
54e241f468 Update instantly the sideBox fav. menu when sort items from nm fav. menu 2014-04-23 13:58:32 +00:00
Hadi Nategh
fa50c92609 Add favorites sortable placeholder css class 2014-04-23 11:46:42 +00:00
Hadi Nategh
9805f019a1 * Favorites: Make favorites item sortable and store their orders as user preference 2014-04-23 11:42:48 +00:00
Klaus Leithoff
d1151d876e translations from our translation server 2014-04-23 07:44:08 +00:00
Nathan Gray
a8a73683b4 Fix missing explicitly supplied select options 2014-04-22 16:56:27 +00:00
Nathan Gray
7a674ff8aa Don't add empty label as option for tags or search (chosen), it's registered as a real option. 2014-04-22 15:47:22 +00:00
Ralf Becker
e526c42e3d forgot to handle empty-label value 2014-04-18 08:32:13 +00:00
Nathan Gray
dac15dbded Fix an additional case in duplication detection.
Prevents doubled options in some select-account widgets
2014-04-17 21:47:13 +00:00
Ralf Becker
0b9bffc40c fixed validation for select-account to work on actual value and attribute account_type and not on options send by server 2014-04-17 12:46:27 +00:00
Ralf Becker
f26a140a01 fixed search returns users, even if limited to groups 2014-04-17 12:24:03 +00:00
Nathan Gray
c4f56f2c3b New dhtmlxGantt library, and etemplate2 widget to use it (work in progress) 2014-04-16 19:47:29 +00:00
Hadi Nategh
d5187e085e Apply padding-right to children of hbox 2014-04-15 12:58:39 +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
Hadi Nategh
9753323074 Set selectbox and input fileds in link_to widget to 40% width. In additon arrange the close icon and link button properly 2014-04-15 10:23:36 +00:00
Nathan Gray
5720af761a Avoid warnings about not listening for deferred loadingFinished 2014-04-08 21:22:07 +00:00
Nathan Gray
a06e408bbd Add some special CSS to improve printing a nextmatch
- Try not to break rows across page
2014-04-08 20:26:06 +00:00
Nathan Gray
22dfe2a5db Any changed sel_options from app need to get encoded too.
Fixes missing 'All' option in Tracker with Firefox.
2014-04-08 17:42:19 +00:00
Nathan Gray
683310ba94 Add a new function activateTab(widget) to activate a tab containing a given widget, move previous code inside tab widget to properly encapsulate it. Fixes broken tab selection with deferred tab loading, wrong tab shown if a widget has a validation error. 2014-04-08 17:11:35 +00:00
Ralf Becker
9532debc5d * eTemplate/all apps: removed custom-field widget type IP again, as it caused too many problems in various modules 2014-04-08 11:59:55 +00:00
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