Commit Graph

962 Commits

Author SHA1 Message Date
Nathan Gray
4fa0370ce4 Avoid error if div has no ID (eg: dialog) 2013-08-26 19:08:02 +00:00
Nathan Gray
838966ae9e Properly fix date-timeonly js side to return a timestamp as all date widgets, server side converts it to expected format, same as others. 2013-08-26 17:04:43 +00:00
Nathan Gray
3b65d807ba Better handling for disabled columns.
Disabled grid columns don't create widgets, which caused the nm issues as it expected a widget in each cell.
2013-08-26 16:42:49 +00:00
Ralf Becker
aa8a848871 optional parameter for egw_framework::window_close() to specify an alert message, which get shown/alerted, before closing the window 2013-08-26 10:24:11 +00:00
Ralf Becker
d8984be747 isDirty() method for whole template / etemplate2 object, thought it needs more work in widgets, not setting this._oldValue in their set_value() method 2013-08-23 15:15:30 +00:00
Ralf Becker
f4e1db3a68 fixed htmlarea not returning any content caused by prefixed DOM id, now all DOMwidgets have their DOM id available via this.dom_id set via this.set_id() 2013-08-23 14:10:37 +00:00
Nathan Gray
f94d213a91 Add stack trace to problem widget report so we can actually track down the problem 2013-08-21 17:18:40 +00:00
Nathan Gray
8c5cc3ca22 Fix favorites sidebox menu going missing - caused by jQueryUI CSS change 2013-08-21 16:02:24 +00:00
Nathan Gray
eb1be53297 Fix bad value in selectbox 'blank' option 2013-08-21 15:59:42 +00:00
Nathan Gray
c1be84c912 Some layout changes to get autocomplete (link widget, select users) working in dialogs too 2013-08-20 23:08:35 +00:00
Nathan Gray
17e8d00054 Fix up nm_action open_popup to match et2 unique ID changes 2013-08-20 22:23:18 +00:00
Nathan Gray
62d42c83da Some documentation, add ability to set value rather than hacking up getValue() (actions) 2013-08-20 18:49:38 +00:00
Nathan Gray
dba3bcc2aa Update timepicker, some work on date-timeonly so it returns a value 2013-08-20 18:37:09 +00:00
Ralf Becker
17203aaab3 an other missing semicolon ;-) 2013-08-20 16:43:37 +00:00
Ralf Becker
c39273ac51 allow to (optionally) add tabs to existing tabs in template instead of replacing them 2013-08-20 16:41:31 +00:00
Nathan Gray
f9ee897544 Prevent errors if refresh message is undefined 2013-08-20 15:59:16 +00:00
Ralf Becker
d9ee56bd79 adapt form::name() legacy pseudo function to new template-prefix 2013-08-20 14:23:00 +00:00
Ralf Becker
73aa652c41 missing egw.js from last commit and egw_framework::window_focus() method 2013-08-20 13:25:36 +00:00
Ralf Becker
1c4f65120c new egw_framework methods refresh_opener and window_close to call egw_refresh on opener or close popup window in a content security save way 2013-08-20 12:06:41 +00:00
Ralf Becker
d244ab7c79 NOT using html5 input type="time", as there is (intentionally) no way to control time-format, but with current state of html5 support, our preference is more relyable and we dont want users to open bugs because we do not respect their EGroupware time-format preference 2013-08-20 09:42:00 +00:00
Ralf Becker
155f771cc4 fixed not shown select-columns icon, rather hackisch, but I could not find a solution via our css files 2013-08-20 08:03:46 +00:00
Nathan Gray
e4b158be4b Give nextmatch a real getValue() function instead of faking it all the time. 2013-08-19 20:23:26 +00:00
Nathan Gray
d7375a2321 Add tooltips to popup header buttons 2013-08-19 20:21:56 +00:00
Nathan Gray
656560c376 Make sure et2 apps don't get passed back to old etemplate 2013-08-19 19:53:45 +00:00
Hadi Nategh
fadca5bb6b fix set value for class when there is an assigned content to class= in .xet file 2013-08-16 08:11:06 +00:00
Nathan Gray
eec6791213 Silence some missing attribute settings warnings and fix warning about not loading app.js when it was already loaded 2013-08-14 18:01:22 +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
6fdeb9f5f8 Drag files from desktop anywhere onto filemanager uploads 2013-08-09 23:34:42 +00:00
Ralf Becker
c8aa72039f html-encoding is done in etemplate engine 2013-08-09 11:17:30 +00:00
Ralf Becker
11f7673408 keeping options in format used for select-boxes everywhere else and convert to taglist.setData format just when calling setData, added new method select_all to set_value all items in select_options 2013-08-08 08:56:43 +00:00
Ralf Becker
99b6fe41e7 fix set_value to work after inital load, eg. on a button press 2013-08-07 14:52:12 +00:00
Ralf Becker
b70f4bcd27 fixed taglist to no longer require ids to be set in select_options, IF allowFreeEntries is left on its default true 2013-08-06 18:31:24 +00:00
Nathan Gray
dacc98ae72 Add drop_target attribute to support HTML5 dropping of files 2013-08-03 19:12:38 +00:00
Klaus Leithoff
a69df51eaa as insertObject (called by treeObj.addObject) expects id to be either string or object, we cast the option.id in case its a number 2013-08-01 09:54:32 +00:00
Nathan Gray
72fb016cb4 Fix dropdown + favorites menu not doing anything when clicked. 2013-07-30 14:17:36 +00:00
Nathan Gray
6b537a1358 Add taglist-email sub-type, uses specific data source, formatting, and some client-side validation for just emails. 2013-07-30 14:16:47 +00:00
Ralf Becker
a293de8614 fix not working full submits if etemplate is etemplate_old and app uses etemplate_new 2013-07-30 12:21:19 +00:00
Ralf Becker
364fbd0f66 fixed wrong call leading to maximum stack size exhaused error 2013-07-22 14:11:58 +00:00
Ralf Becker
f0808f09af fixed action _target.id was id of tree and not of action 2013-07-22 06:34:01 +00:00
Nathan Gray
f4a6c9859a More fixes forjQuery/jQueryUI update issues 2013-07-20 17:20:55 +00:00
Ralf Becker
f2906a1052 moved most action "comfort" functions (with exception of nm_action and pagination) from server-side nextmatch class to client-side egwActions.updateActions() method, so they are available for all widgets 2013-07-20 16:47:33 +00:00
Klaus Leithoff
0a37e675bd allow to set a limit of selected entries 2013-07-20 14:03:06 +00:00
Nathan Gray
bd63529096 Rework etemplate2 loading to use JSON plugin when loading from regular request & AJAX. instead of inline script tag 2013-07-20 13:57:53 +00:00
Nathan Gray
f60fa14c30 Wrap loadingFinished() in a try / catch, so if one widget has problems it doesn't break the whole template. 2013-07-20 13:54:31 +00:00
Nathan Gray
a21f6aedfe Check to see if autocomplete is available before destroying 2013-07-20 13:51:12 +00:00
Ralf Becker
74cb73d2d2 moved most action "comfort" functions (with exception of nm_action and pagination) from server-side nextmatch class to client-side egwActions.updateActions() method, so they are available for all widgets 2013-07-20 13:45:22 +00:00
Nathan Gray
2beadad730 Make sure dialog is created before trying to update buttons 2013-07-20 13:05:03 +00:00
Nathan Gray
49ef157e69 Continued development on taglist widget:
- More attributes
- Fix missing parent class and action system handlers
2013-07-19 15:07:35 +00:00
Nathan Gray
d2d0fa1fcd Check for proper type (string) if I want to use string functions 2013-07-19 12:38:52 +00:00