Commit Graph

1904 Commits

Author SHA1 Message Date
Nathan Gray
29501fc027 Add set_value() so selectbox can show current value 2011-09-26 16:01:42 +00:00
Nathan Gray
0ace096701 Start nextmatch header 2011-09-23 19:09:52 +00:00
Nathan Gray
c622957b40 Handle if button onclick didn't get compiled. Still a problem with variable insertion though 2011-09-22 23:03:37 +00:00
Nathan Gray
f7b2a2b02f Set text last, in case title is undefined - it breaks the chaining 2011-09-22 21:40:21 +00:00
Nathan Gray
96bb751a26 Allow full URLs as images, don't try to split off the app 2011-09-22 21:39:34 +00:00
Nathan Gray
04f4287091 Declare variable before using it 2011-09-22 21:39:02 +00:00
Nathan Gray
860d37912b If value is '', don't show a unit either 2011-09-22 21:28:26 +00:00
Nathan Gray
390bb1f6f0 Get all button images working (in timesheet & infolog list at least) 2011-09-22 21:23:30 +00:00
Nathan Gray
c631412dfb Change style for buttons with icons to only display image 2011-09-22 19:10:21 +00:00
Nathan Gray
7488843290 Fix link - this.node is used by parent for DOM node 2011-09-22 19:02:33 +00:00
Nathan Gray
15ed02894f Get submit buttons + buttons with no onclick function in a nm row (legacy actions) to at least fire 2011-09-22 16:25:41 +00:00
Nathan Gray
7297e02f39 Get some buttons working in nm. Not quite done yet, only buttons with onclick function working 2011-09-21 21:07:21 +00:00
Klaus Leithoff
2d494997ab rework of bo_merge::getExportLimit, apply to etemplate, importexport, addressbook, calendar 2011-09-16 13:03:46 +00:00
Nathan Gray
0d47709ed1 Implement transformer changing type on client side by changing type while loading 2011-09-15 18:00:17 +00:00
Nathan Gray
965fb54ffa Fix handling of first example - simple assignment 2011-09-15 17:57:48 +00:00
Nathan Gray
0b41f9da89 Target text could also be a number, treat it the same as string 2011-09-15 17:51:21 +00:00
Nathan Gray
a5e17d5193 Easier warning message for tracking down not existing attributes 2011-09-15 17:49:03 +00:00
Klaus Leithoff
d216a37bba check if app is set before calling the hook on export_limit; TODO: move the call to bo_merge::getExportLimit and cache the appspecific returnvalue there, to improve speed 2011-09-15 17:40:37 +00:00
Klaus Leithoff
d9905d3fb4 calendar/addressbook/API: introduce hook to fetch the export_limit to be applied for an app; introduce method to test if a specific hook exists for an application; fetch the export_limit via hook where appropriate 2011-09-15 14:46:56 +00:00
Nathan Gray
c7d3cba6c6 Fix error breaking dates in nm 2011-09-15 14:02:24 +00:00
Nathan Gray
2302de28f2 Add some et2_IDetachedDOM handling 2011-09-14 20:52:59 +00:00
Nathan Gray
ff2a8102d6 Implemented all link widgets 2011-09-14 20:36:39 +00:00
Nathan Gray
812242a224 Get images working in buttons, sort of
-- Don't know what's happening with events in the grid.  Something happens if you double click, but it's not the button's click method.
2011-09-14 18:37:38 +00:00
Nathan Gray
8b1a63e1ee Transform attributes before passing them to the row's widget 2011-09-14 15:44:54 +00:00
Ralf Becker
ad99ce981f getting server supplied actions working, thought actions submitting the form do not yet work 2011-09-14 14:25:09 +00:00
Klaus Leithoff
70a7026915 * merge_print/calendar: control the availability of mergeprint and csv export, if the export_limit is set to ->no<- and the user in question is not exempted from export_limit restrictions 2011-09-14 13:09:13 +00:00
Klaus Leithoff
36e3a1b8ce add missing translations for export_limit feature of calendar, correcting translation strings for export_limit warnings 2011-09-14 10:27:53 +00:00
Ralf Becker
2bd343ee05 - processsing actions now on serverside, also creating action_links array
- call_get_rows return now directly rows indexed by row-number: start, ..., start+num_rows-1
- non-numerical indexed rows are returned as is
--> widget still calls ajax_get_rows, even as we supply the first N=25 rows
2011-09-14 09:41:08 +00:00
Nathan Gray
a3901bd00f Link list 2011-09-14 00:06:04 +00:00
Nathan Gray
6b361f770f Handle app/image_name style values 2011-09-14 00:04:54 +00:00
Nathan Gray
43449a0c24 Fix bug where display was not using user preference 2011-09-14 00:04:06 +00:00
Ralf Becker
77f2a043fc local caching and queueing of egw.link_title() requests 2011-09-13 19:55:06 +00:00
Ralf Becker
5cadd29d58 Basic egw.link_title(_app,_id,_callback,_context) method.
Plan is to run a clientside cache and own queue for link_titles, as server can query titles for N id's for a given app more effiently then N separeate queries.
2011-09-13 18:23:43 +00:00
Nathan Gray
e31357bd88 Fix date & duration in dataview 2011-09-13 17:37:29 +00:00
Nathan Gray
077acb3fb0 Better warning to help track down offending widget 2011-09-13 17:18:00 +00:00
Klaus Leithoff
74b41ec99a fix bug regarding merge_print with export_limit set in calendar, as calendar may pass a search query instead of a list of ids (this is the reason, why the test within bo_merge on export_limit is not working as expected) 2011-09-13 15:41:31 +00:00
Klaus Leithoff
d52c72207c * calendar/importexport/addressbook: calendar introduce new config option to set app specific export_limit; calendar csv export: use enumerate for exporting events as csv; bo_merge: introduce new helper functions to get and check export-limit; addressbook: use new helper functions 2011-09-13 09:05:33 +00:00
Klaus Leithoff
55ba753e3c making 1st param for custumfield_widget construct (ui) optional, to avoid warning 2011-09-13 08:38:16 +00:00
Nathan Gray
f44558a385 Got link entry working as separate widget 2011-09-12 23:43:39 +00:00
Nathan Gray
1bf74cc95b Read only for date 2011-09-12 15:21:42 +00:00
Ralf Becker
132cafc8a9 check if we can use the XSL extension, to not give a fatal error and rendering whole merge-print non-functional AND only keep tags, if XSL is available 2011-09-12 10:51:21 +00:00
Ralf Becker
9066385fa5 check if we can use the XSL extension, to not give a fatal error and rendering whole merge-print non-functional 2011-09-12 10:21:18 +00:00
Ralf Becker
2aff9d170b implementation of old server etemplate::js_pseudo_funcs() on client as et2_js_pseudo_funcs, thought we need to pass the namespace to et2_checkType!!! 2011-09-10 13:16:40 +00:00
Ralf Becker
d2adcf972d skip the empty (NULL) row 2011-09-09 19:55:22 +00:00
Ralf Becker
791f4ae071 remove empty rows required by old etemplate to compensate for header rows 2011-09-09 19:46:44 +00:00
Ralf Becker
387be881ee egw.link(_url, _vars) method and using it for JS event handler 2011-09-09 19:41:09 +00:00
Nathan Gray
18a930446f Avoid '_node is undefined' error breaking nm 2011-09-09 16:50:44 +00:00
Nathan Gray
c0962b1ce7 Don't give an exception on null values 2011-09-09 16:46:55 +00:00
Ralf Becker
4600445527 fixed exception with text "0" 2011-09-09 16:30:20 +00:00
Nathan Gray
a5ea1f78d9 Get selectbox _appendOptionElement working with empty_label automatically 2011-09-09 15:47:38 +00:00