Allow late registration of file actions in public page
This commit is contained in:
parent
3b2fd5e4e6
commit
13b7937381
|
@ -33,6 +33,10 @@ OCA.Sharing.PublicApp = {
|
||||||
// regular actions
|
// regular actions
|
||||||
fileActions.merge(OCA.Files.fileActions);
|
fileActions.merge(OCA.Files.fileActions);
|
||||||
|
|
||||||
|
// in case apps would decide to register file actions later,
|
||||||
|
// replace the global object with this one
|
||||||
|
OCA.Files.fileActions = fileActions;
|
||||||
|
|
||||||
this._initialized = true;
|
this._initialized = true;
|
||||||
this.initialDir = $('#dir').val();
|
this.initialDir = $('#dir').val();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue