Ralf Becker
aa31a8705f
fixing scope of "use strict", so we do not need to remove it when concatinating our scripts like we do now with minjs
2016-02-29 20:40:43 +00:00
Hadi Nategh
1c4647492d
Show caption if there's no icon available for toolbar actions
...
- Remove icon from today action in calendar
2016-01-26 13:43:00 +00:00
Nathan Gray
2a88ce69bd
Remove focus class from toolbar More when user clicks somewhere else on the page
2016-01-25 21:20:28 +00:00
Hadi Nategh
6a50715f99
Do not take toolbar's preferences into account for mobile theme
2016-01-21 10:15:34 +00:00
Hadi Nategh
e729fc39a5
Some more styling for toolbar widget and toolbar in calendar
2016-01-12 10:22:40 +00:00
Hadi Nategh
87fca58c0b
Better styling toolbar widget and toolbar in calendar
2016-01-11 19:38:03 +00:00
Nathan Gray
863e64f0fd
Allow slide toggles for checkboxes in toolbar if they specify toggle_on or toggle_off
2016-01-09 00:54:02 +00:00
Hadi Nategh
cb2aa3399f
Do not use opened //** pattern as it will mixed up with line numbers pattern in minifying debug mode
2015-11-09 10:03:12 +00:00
Hadi Nategh
01ec6d0406
A hack for toolbar widget to get fixed existing toolbar preferences and keep working with new actions
2015-09-18 13:32:51 +00:00
Hadi Nategh
7ccbdfe871
Add toggledClass property to toolbar toggle actions
2015-06-15 09:11:33 +00:00
Hadi Nategh
394f7394ff
Introduce a checkbox method for toolbar widget in order to be able to get/set checkbox actions
...
- Function pattern: widget.checkbox(action_id,[value])
- Fix encrypt toolbar action set/get according to new method
2015-05-20 15:18:00 +00:00
Hadi Nategh
d35a0947d3
Do not show the dropdown menu if there is no actions on toolbar "more..." menu
2015-05-15 08:45:48 +00:00
Hadi Nategh
3346821c5d
Give a type button to toolbar's button to not be able to do auto submission, because of our form tag
2015-03-05 14:54:47 +00:00
Hadi Nategh
6c87b988f5
Give enough delay to toolbar's drag action in order to avoid confusion between dragging and clicking
2015-02-26 09:21:24 +00:00
Hadi Nategh
de79b1eaa3
Remove toolbar prefs correction code
2015-02-23 08:23:42 +00:00
Hadi Nategh
04730c83fe
Fix toolbar toggle buttons with Function are not getting executed
2015-01-13 15:51:30 +00:00
Hadi Nategh
1ad841f9d8
Set the action default for dropdown actions
2015-01-13 12:16:04 +00:00
Hadi Nategh
e1b9b43f6c
Fix toolbar dropdown actions set label
2015-01-09 14:45:39 +00:00
Hadi Nategh
eec3ebbc5d
Correct stored toolbar's preferences with the wrong id
2015-01-08 14:02:21 +00:00
Hadi Nategh
7009ba1de0
Fix mail compose issues:
...
-Set default toolbar actions
-Set toolbar actions view range to 6
-Fix compose window not being resized correctly in FF
-Fix displaying toolbar's selectbox
-Fix styling of toggle button
2015-01-07 17:08:21 +00:00
Hadi Nategh
733fd41a45
Implement toggle button in toolbar widget, representing checkbox actions in toolbar
2014-12-23 14:24:25 +00:00
Ralf Becker
010054bd97
fixed not working view_range (max. number of buttons to show incl. label)
2014-11-28 14:45:45 +00:00
Hadi Nategh
acd07a1f93
Adjusting toolbar widget
...
-Fix toolbar widget droppable space
-Fix toolbar widget for first time user with no preferences
2014-09-25 11:12:04 +00:00
Hadi Nategh
a0bf45da93
Use getAttribute to get the data-group value to use it for toolbar sorting.\n\r -Fix group is undefined error opening mail in IE10
2014-07-11 10:38:36 +00:00
Ralf Becker
7bda46582d
changed toolbar to have last action.id as value, when submitted to server
2014-03-10 21:14:02 +00:00
Ralf Becker
ee50a6b9bb
fix to work correctly with actions containing only a string/caption, using action.execute() to get automatic confirmation from action system and defaulting to default actions (not all actions) if last action is dragged off
2014-03-06 18:38:02 +00:00
Hadi Nategh
1e449f571a
Bind a click handler to collapse the toolbar menulist when click event occurs
2014-03-04 11:03:03 +00:00
Hadi Nategh
c0c20ed9d2
Fix wrong jQuery assignment to menulist Node in toolbar widget, and replace another jQuery with internal vars
2014-02-27 18:15:08 +00:00
Ralf Becker
30de2b30c2
using internal vars instead of search in DOM, which might not yet be ready, necessary to set actions via modifications
2014-02-27 17:45:25 +00:00
Hadi Nategh
3105054be0
Fix toolbar default actions for flat_list toolbar
2014-02-20 18:04:04 +00:00
Hadi Nategh
3b8eeb12ca
Fix dropdown action in toolbar widget
2014-02-19 17:52: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
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
Hadi Nategh
cf6d844c67
Set the toolbar actions draggable items always to the top
2014-02-11 14:18:30 +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
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
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
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
6c10d73e6e
Adjust toolbar d-n-d, and add css class to actionbox dropdown menu
2014-02-06 11:25:56 +00:00
Hadi Nategh
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
Hadi Nategh
dbb6adf806
Fix no drop place when there's no action in toolbar widget
2014-01-21 13:52:32 +00:00
Ralf Becker
37fa9facce
fixed IDE warnings and svn propset svn:keywords Id
2014-01-20 18:19:04 +00:00
Ralf Becker
01773135ea
fixed buttons in toolbar show no tooltip in Firefox (caused by title attribute on image not button)
2014-01-20 18:11:32 +00:00
Nathan Gray
b094225f7a
Wrap action/button groups each in their own span
2014-01-17 13:24:18 +00:00
Hadi Nategh
dc614521b3
Make toolbar widget being able to d-n-d with user prefernces for actions
2014-01-13 10:26:20 +00:00