375854327d
adding a css class for cancel, delete or yes/no buttons
2014-02-12 15:17:54 +00:00
eb8ea32d97
Change loading order so tab widget is in DOM before loading children. Matches other widgets, and avoids errors in CKEditor which needs the DOMNode to be in the tree.
2014-02-11 22:44:06 +00:00
5450085a54
Avoid error if value sent was not a string. Warning is also sent to console by framework, but this prevents errors.
2014-02-11 22:40:58 +00:00
3158cbf915
Only trigger immediate refresh if the tab has been hidden longer than refresh time, prevents refresh when clicking around between tabs.
2014-02-11 20:59:07 +00:00
5dec559f11
fixed javascript error "... has no method egw"
2014-02-11 17:30:56 +00:00
ae3a6bfe0c
Fix view_range and reset to default if drop all actions in toolbar widget
2014-02-11 16:06:02 +00:00
ec989fc535
method to get data of a node by its id
2014-02-11 15:56:52 +00:00
cf6d844c67
Set the toolbar actions draggable items always to the top
2014-02-11 14:18:30 +00:00
dbe2371a0b
allways using this.egw().getAppName()) instead of window.egw_appName, which has no meaning for framed template-sets running apps on toplevel
2014-02-11 12:54:56 +00:00
e7206aa071
fixed sometimes preferences for app "eGroupware" are requested
2014-02-11 12:17:08 +00:00
c9c89c4d66
Set the button text with textContent instead of innerTEXT as some browsers may not support innerTEXT
2014-02-11 08:50:19 +00:00
e314011e88
Harmonize readonlys processing, fixes some fields in grids not validating if other rows were read-only.
...
- Change server-side get_array() to return null if not found, matches client side getEntry() and allows us to tell the difference between false and not found
- Change server-side is_readonly() to properly consider expansion & sub-arrays
- Fix client side et2_readonlysArrayMgr to properly consider expansion & sub-arrays
2014-02-10 21:59:50 +00:00
9cd9f22026
Use framework events to stop and start autorefresh if tab is hidden or shown
2014-02-10 18:47:51 +00:00
4195633c82
pass event as 1. parameter to click handlers to be able to call preventDefault() or stopPropagation()
2014-02-10 18:25:02 +00:00
795cfe3e6f
fix typo stalling insert into eml document
2014-02-10 17:02:54 +00:00
484dd23320
Implement preferred default actions for toolbar widget
2014-02-10 15:43:51 +00:00
c0e90dbcf5
Set the default "view range" attribute in toolbar to 5
2014-02-10 14:10:17 +00:00
41ed0218d4
Fix sorting toolbar actions by group
2014-02-10 13:03:17 +00:00
5aa51c2396
Add action hint as tooltip in toolbar actions. If there is no hint, use action caption as tooltip
2014-02-07 11:02:35 +00:00
f073db1f63
fixed toolbar preference sometimes not stored (caused by them being an array)
2014-02-07 10:33:05 +00:00
4dab9cba88
if content of template contains data for key "msg", call egw.message() with it and remove it from content
2014-02-06 17:27:01 +00:00
5886ec65a3
Show toolbar's action always with icon and caption when it is in menulist
2014-02-06 14:01:37 +00:00
338c1c1f2f
Seperate phrase "more" from " ..." in toolbar widget
2014-02-06 13:43:11 +00:00
6c10d73e6e
Adjust toolbar d-n-d, and add css class to actionbox dropdown menu
2014-02-06 11:25:56 +00:00
3bace4e0d7
need to wait for jQuery to be loaded
2014-02-06 11:01:32 +00:00
84586b196b
magisuggest can NOT work setting an empty autocomplete url, using an empty options list instead
2014-02-06 09:40:47 +00:00
9ef38e33dc
Fix some internal UID <-> entry references not being updated when deleting.
...
Fixes mail splitter docking after deleting 2 rows.
2014-02-05 19:46:02 +00:00
66cddfbd61
If thrown does not have a message attribute, use what was thrown instead.
...
Fixes 'undefined' error message in log when using throw "error"
2014-02-05 17:19:18 +00:00
565ead7288
Add a comment for why starting at '' - avoids infinite loops in set_value() / set_select_options()
2014-02-05 16:34:32 +00:00
0af573a3e1
Stop setting value.ignore flag in nm headers, it was changing it for all subsequent selectboxes, and doesn't appear needed anymore.
...
Fixes selectboxes in left/right headers missing values.
2014-02-05 16:33:49 +00:00
d78bd208cb
Add "view_range" to toolbar widget in order to set range of maximum number of actions which would be displayed by icons and caption, out of range only icons. Additionally, reset the preference to default if all actions dragged out of list
2014-02-05 16:04:58 +00:00
92701be185
setting foldernames now as text and (optional) style
2014-02-05 12:23:04 +00:00
c0c6775e0a
added htmlencoding to tree widget and static PHP method to quote and send JSON data
2014-02-05 08:54:36 +00:00
3a618c23d9
reverted r45509, as it causes an infinit recursion of set_value calling set_select_options calling set_value and so on
2014-02-04 08:27:26 +00:00
b8b614220e
Revert unneeded change from r45352.
...
Fixes (hopefully) spacer rows staying when fetching more rows.
2014-02-03 23:41:22 +00:00
c4a01a3de9
Implement set_actions() so they can be updated from server-size assign
2014-02-03 20:05:56 +00:00
cffa002dde
If value is available in init, keep it so it doesn't get cleared by set_select_options()
...
Fixes missing organization name
2014-02-03 20:05:29 +00:00
0c5ed3aefd
Log a warning if etemplate can't find a target parent DOM node (by ID) to help track down future missing widgets.
2014-02-03 16:22:27 +00:00
d5acb5f888
Don't try to refresh a not-fully-initialized nextmatch.
...
Fixes type error when switching to an open app that was loaded on login.
2014-02-03 16:03:32 +00:00
c2aad7342f
fixed not translated tooltip/label
2014-02-03 10:15:47 +00:00
269398be1d
add href implementation analog to image
2014-02-03 09:54:45 +00:00
8290224b7b
Fix not able to un-select linked entry / select none
2014-01-31 16:30:59 +00:00
6d7e64037b
implemented a default_src attribute, which get used if src is not found in image-cache and fixed not working detached label attribute
2014-01-31 14:12:09 +00:00
d627be8763
added a couple more aliases for ids mapping to same image
2014-01-31 11:36:09 +00:00
18154600ea
assign default (background-)images to buttons based on their id
2014-01-31 11:24:43 +00:00
d383373ffe
skip empty, undefined or null labels when generating captions for column selection, eg. timesheet
2014-01-31 08:14:49 +00:00
c8603676ef
allow 0 as empty-value for date and date-time widgets, as that is used a lot eg. in InfoLog
2014-01-30 17:18:05 +00:00
12fc2ba8d0
Fix some more bugs in egw_refresh() delete:
...
- Fix selecting next row selecting current row instead
- Fix subsequent deletes not removing row
2014-01-30 17:10:28 +00:00
01fad19d9d
fixed just broken date-time widget and duration not accepting commas
2014-01-30 16:24:58 +00:00
d09391c0ee
fixed validation from date-timeonly and also no longer triggering change events for initial content
2014-01-30 15:30:14 +00:00