mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-21 23:43:17 +01:00
egw_action copy fixes regarding ticket 84314
This commit is contained in:
parent
4727b40329
commit
0dd7616c5e
@ -836,7 +836,7 @@ class AddressbookApp extends EgwApp
|
||||
id,
|
||||
values.name
|
||||
);
|
||||
action.setDefaultExecute(action.parent.onExecute.fnct);
|
||||
action.setDefaultExecute(action.parent.onExecute.functionToPerform);
|
||||
action.updateAction({group: 1});
|
||||
}
|
||||
}
|
||||
|
@ -283,7 +283,14 @@ export class EgwFnct
|
||||
{
|
||||
private readonly context: any;
|
||||
private readonly acceptedTypes: string[];
|
||||
functionToPerform;
|
||||
functionToPerform:Function;
|
||||
|
||||
/**
|
||||
* @deprecated please use functionToPerform instead
|
||||
*/
|
||||
public get fnct(){
|
||||
return this.functionToPerform
|
||||
}
|
||||
private value;
|
||||
// Flag for if this action is using a default handler
|
||||
// I don't think this is ever used @unused
|
||||
|
@ -1116,7 +1116,7 @@ export class filemanagerAPP extends EgwApp
|
||||
let clipboard = JSON.parse(egw.getSessionItem('phpgwapi', 'egw_clipboard'));
|
||||
|
||||
// Set a flag so apps can tell the difference, if they need to
|
||||
action.set_onExecute(action.parent.onExecute.fnct);
|
||||
action.set_onExecute(action.parent.onExecute.functionToPerform);
|
||||
action.execute(clipboard.selected,selected[0]);
|
||||
|
||||
// Clear the clipboard, the files are not there anymore
|
||||
|
Loading…
Reference in New Issue
Block a user