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
Ralf Becker
8d48058f22
historylog need to use $this->id as namespace for sel_options to NOT overwrite regular sel_options, fixes addressbook-selection in addressbook.edit contains all users instead of only ones user has rights for
2014-02-13 12:50:29 +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
Nathan Gray
9ca2ec2329
Silence error log
2014-02-12 18:35:04 +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
bceab8aa94
More styling for toolbar actions
2014-02-11 15:31:48 +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
Ralf Becker
e7206aa071
fixed sometimes preferences for app "eGroupware" are requested
2014-02-11 12:17:08 +00:00
Hadi Nategh
251f13cedb
Set minimum width for toolbar menulist, to start always with reasonable size
2014-02-11 11:12:25 +00:00
Hadi Nategh
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
Nathan Gray
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
Nathan Gray
9cd9f22026
Use framework events to stop and start autorefresh if tab is hidden or shown
2014-02-10 18:47:51 +00:00
Ralf Becker
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
Ralf Becker
795cfe3e6f
fix typo stalling insert into eml document
2014-02-10 17:02:54 +00:00
Hadi Nategh
484dd23320
Implement preferred default actions for toolbar widget
2014-02-10 15:43:51 +00:00
Hadi Nategh
c0e90dbcf5
Set the default "view range" attribute in toolbar to 5
2014-02-10 14:10:17 +00:00
Hadi Nategh
41ed0218d4
Fix sorting toolbar actions by group
2014-02-10 13:03:17 +00:00
Ralf Becker
5b6064d360
new et2_nowrap class to not wrap content of a single widget incl. label or children of a hbox
2014-02-07 16:12:46 +00:00
Ralf Becker
b90d93ddbb
hide (vertical) scrollbar for more... submenu
2014-02-07 13:13:24 +00:00
Ralf Becker
7fc89ea36d
fixed serverside validation to understand hierarchical structure used for tree and to NOT try to validate if autoloading is enabled as we dont know all nodes
2014-02-07 13:08:00 +00:00
Hadi Nategh
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
Ralf Becker
f073db1f63
fixed toolbar preference sometimes not stored (caused by them being an array)
2014-02-07 10:33:05 +00:00
Ralf Becker
794cecabc1
fixed styling or [more...] pulldown
2014-02-07 09:49:35 +00:00
Ralf Becker
0198a5196f
pixelegg changes from today
2014-02-06 17:36:03 +00:00
Ralf Becker
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
Nathan Gray
9f8c4a5e25
Import default magicsuggest CSS, fixes missing tag list styling in idots/jdots
2014-02-06 17:22:46 +00:00
Hadi Nategh
e6f96648a3
Remove unwanted width:100% for toolbar buttons
2014-02-06 14:11:31 +00:00
Hadi Nategh
680d6ad7e0
Fix rtl "more..." in toolbar widget. In addition, arrange actions in menulist a bit better
2014-02-06 14:05:28 +00:00
Hadi Nategh
5886ec65a3
Show toolbar's action always with icon and caption when it is in menulist
2014-02-06 14:01:37 +00:00
Hadi Nategh
338c1c1f2f
Seperate phrase "more" from " ..." in toolbar widget
2014-02-06 13:43:11 +00:00
Hadi Nategh
8225546999
Add some et2 toolbar widget basic css classes
2014-02-06 12:18:05 +00:00
Hadi Nategh
6c10d73e6e
Adjust toolbar d-n-d, and add css class to actionbox dropdown menu
2014-02-06 11:25:56 +00:00
Ralf Becker
3bace4e0d7
need to wait for jQuery to be loaded
2014-02-06 11:01:32 +00:00
Ralf Becker
84586b196b
magisuggest can NOT work setting an empty autocomplete url, using an empty options list instead
2014-02-06 09:40:47 +00:00
Nathan Gray
ea7e1fbae9
Fix parent flag causing expanded row to use too much vertical space
2014-02-05 23:18:38 +00:00