Nathan Gray
ace335415f
Add expand_multiple_rows attribute which adds a button to toggle between single & multiple select
2014-02-24 18:13:54 +00:00
Ralf Becker
2908b9466b
fixed not working retransformation of date* custom fields to Y-m-d[ H:i:s] format, caused by not calling validation of implementing base-widget, also added options from file and sending available options from server, as for regular select options
2014-02-24 14:47:55 +00:00
Hadi Nategh
1561dc1caf
Fix label attribute in date-time readonly widget
2014-02-21 12:22:33 +00:00
Hadi Nategh
3105054be0
Fix toolbar default actions for flat_list toolbar
2014-02-20 18:04:04 +00:00
Nathan Gray
b2aabac6f9
- Fix VFS widget names when name is not part of path
...
- Fix VFS link titles for app entries
2014-02-20 17:41:33 +00:00
Ralf Becker
b2c275436a
fixed javascript error "Can not set readonly property" in Safari, caused by wrong context
2014-02-20 13:29:35 +00:00
Nathan Gray
1c4b473d6f
Make template cache static class level variable, so they're always available & persist for session
2014-02-19 22:30:59 +00:00
Nathan Gray
bec852fed2
- Avoid error if something tries to refresh a destroy()ed nextmatch
...
- Fix not-cleared popup action
- Fix timing bug where nextmatch could display old data after an action
2014-02-19 22:02:09 +00:00
Nathan Gray
45303ecb15
Allow template attribute to be the ID of a known template, not just a separate file
2014-02-19 21:57:10 +00:00
Hadi Nategh
3b8eeb12ca
Fix dropdown action in toolbar widget
2014-02-19 17:52:31 +00:00
Ralf Becker
a7ee896adb
create wrapper only for overflow != "visible", not needed otherwise and can break existing code, eg. name popup in addressbook.edit
2014-02-19 17:18:54 +00:00
Nathan Gray
ac653d6c9a
Set top level owner to top level widget.
...
Fixes error if read-only expansion runs off the top of the tree, and no owner found.
2014-02-19 00:28:38 +00:00
Nathan Gray
8456cd0c9d
Implement overflow & height for table
...
Uses a wrapper div, since tables don't care about height or overflow.
2014-02-18 20:20:35 +00:00
Nathan Gray
a7a1474229
Add a check for invalid position preference.
...
This happens if the user has switched to a window smaller than previous, where their preference is now invalid.
Fixes splitter at top when viewing mail in smaller window.
2014-02-18 16:55:55 +00:00
Ralf Becker
ae057bd957
fixed cat-id in nextmatch header of addressbook is in id-order and not alphabetic/hierarchical order
2014-02-18 16:35:54 +00:00
Hadi Nategh
d500e4cc91
Fix actions over grid always return the last row DOMNode, by passing DOMNode to et2_action_object_impl constructor for cases like the infamous loop problem (JS closure)
2014-02-18 13:59:45 +00:00
Ralf Becker
d01d5119ca
calling app[appname].et2_ready(et2,name) with template name as second parameter
2014-02-17 14:58:20 +00:00
Ralf Becker
6a1b0e846d
fix javascript error if data not available
2014-02-17 14:53:53 +00:00
Ralf Becker
a861f16565
log error-message not error-object (which get logged as {})
2014-02-17 13:10:20 +00:00
Ralf Becker
61e98b8149
default refresh method for jdots, if no nextmatch available
2014-02-14 15:01:45 +00:00
Ralf Becker
fb311f3ebf
added a et2_button_ro class to all readonly buttons and remove cursor: pointer from et2_button, as it is set in et2_clickable anyway
2014-02-14 10:47:05 +00:00
Ralf Becker
bd7980f0e8
new attribute type "html", which is NOT run through (tags removing) html_entity_decode, used for value in et2_html(area)
2014-02-14 10:14:28 +00:00
Ralf Becker
e60294fdf4
temp. workaround to get calendar conflicts working again, see my.stylite.de #6343
2014-02-14 09:53:34 +00:00
Ralf Becker
49ffb7a6db
fix javascript error: can not call method removeClass of null
2014-02-14 09:35:51 +00:00
Ralf Becker
efa9c562bb
allow expressions to end in a $ eg. in PHP "test$" is valid, no longer throwing an error if expression cant be parsed, just log the error and return expression literally
2014-02-14 09:03:12 +00:00
Ralf Becker
551dff28e3
fix readonly buttons were clickable: ignoring now click and add/remove et2_clickable (temp. also changing cursor: default/pointer, as et2_button sets cursor: pointer)
2014-02-13 18:41:04 +00:00
Nathan Gray
c5d1cc8cd1
Fix missing destruction of splitter children
2014-02-13 18:28:53 +00:00
Ralf Becker
c00e79af78
partial fix for addressbook CRM view does not propagate prefered telephone number to phone popup, set_value() on et2_radiobox_ro is NOT working
2014-02-13 17:51:02 +00:00
Ralf Becker
6df2fa827d
fixed not working options for readonly radiobutton eg. "something,♥": missing legacyOptions for et2_radionbox_ro and no entity_decoding from attributes in template (they require it because of xml)
2014-02-13 17:29:02 +00:00
Nathan Gray
b307202565
- Give default settings based on dynheight in case of missing preference and deferred layout
...
- Force layout _before_ setting preference too, or it will render children properly but store a bad size in prefs.
2014-02-13 17:05:14 +00:00
Ralf Becker
65c3f50923
instanciate app.js object, if not yet done
2014-02-13 15:59:31 +00:00
Hadi Nategh
7386333c10
Fix wrong number of actions in toolbar, since we could multi-layered actions as single button
2014-02-13 14:33:48 +00:00
Hadi Nategh
1529a14db7
Add another attribute to toolbar, called flat_list, in order to define wheter show actions with children as button or dropdown
2014-02-13 10:40:39 +00:00
Ralf Becker
8d86f8496b
fixed radiobutton not (always) returning correct value plus fixing ide warnings
2014-02-13 09:50:49 +00:00
Nathan Gray
09272770a9
Avoid error if server sends numeric ID by checking type
2014-02-13 00:36:36 +00:00
Ralf Becker
f0d7751496
removed caret from group favorites, fixed prefered favorite was not show correct initialy nor updated
2014-02-12 21:51:25 +00:00
Nathan Gray
153c4b7e8d
Fix lost focus, and remove unneeded stuff
2014-02-12 21:25:59 +00:00
Nathan Gray
1134c6a4b9
Fix deleting first row not working properly
2014-02-12 21:25:24 +00:00
Ralf Becker
fbaa1ecdc2
when renaming a tree node, need to change id in action object and action object interface, when deleting we need to delete whole object not just id of interface (splice renumbers array, while delete sets deleted item to undefined!)
2014-02-12 20:12:02 +00:00
Ralf Becker
082f3242ee
fix Syntax error while parsing "You can use $$start$$ for the above start date and $$end$$ for the end date." at 13, expected variable identifier and fixed IDE warnings
2014-02-12 19:32:34 +00:00
Ralf Becker
4f2cc1456e
adding a css class for cancel, delete or yes/no buttons and default background images
2014-02-12 15:18:18 +00:00
Ralf Becker
375854327d
adding a css class for cancel, delete or yes/no buttons
2014-02-12 15:17:54 +00:00
Nathan Gray
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
Nathan Gray
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
Nathan Gray
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
Ralf Becker
5dec559f11
fixed javascript error "... has no method egw"
2014-02-11 17:30:56 +00:00
Hadi Nategh
ae3a6bfe0c
Fix view_range and reset to default if drop all actions in toolbar widget
2014-02-11 16:06:02 +00:00
Ralf Becker
ec989fc535
method to get data of a node by its id
2014-02-11 15:56:52 +00:00
Hadi Nategh
cf6d844c67
Set the toolbar actions draggable items always to the top
2014-02-11 14:18:30 +00:00
Ralf Becker
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