mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 16:44:07 +01:00
added a couple more default icons similar to et2_button, and fixed actions with just a caption string where not working with toolbar
This commit is contained in:
parent
dbbad57f90
commit
ea04a556ca
@ -344,7 +344,16 @@ egwAction.prototype.defaultIcons = {
|
||||
copy: 'copy',
|
||||
move: 'move',
|
||||
cut: 'cut',
|
||||
paste: 'editpaste'
|
||||
paste: 'editpaste',
|
||||
save: 'save',
|
||||
apply: 'apply',
|
||||
cancel: 'cancel',
|
||||
'continue': 'continue',
|
||||
next: 'continue',
|
||||
finish: 'finish',
|
||||
back: 'back',
|
||||
previous: 'back',
|
||||
close: 'close'
|
||||
};
|
||||
|
||||
/**
|
||||
@ -368,8 +377,10 @@ egwAction.prototype.updateActions = function(_actions, _app)
|
||||
{
|
||||
var elem = _actions[i];
|
||||
|
||||
if (typeof elem == "string") elem = { caption: elem };
|
||||
|
||||
if (typeof elem == "string")
|
||||
{
|
||||
_actions[i] = elem = { caption: elem };
|
||||
}
|
||||
if (typeof elem == "object")
|
||||
{
|
||||
// use attr name as id, if none given
|
||||
|
BIN
phpgwapi/templates/idots/images/back.png
Executable file
BIN
phpgwapi/templates/idots/images/back.png
Executable file
Binary file not shown.
After Width: | Height: | Size: 862 B |
BIN
phpgwapi/templates/idots/images/continue.png
Executable file
BIN
phpgwapi/templates/idots/images/continue.png
Executable file
Binary file not shown.
After Width: | Height: | Size: 835 B |
Loading…
Reference in New Issue
Block a user