Allow late registration of file actions in public page

remotes/origin/ldap_group_count
Vincent Petry 12 years ago
parent 3b2fd5e4e6
commit 13b7937381
  1. 4
      apps/files_sharing/js/public.js

@ -33,6 +33,10 @@ OCA.Sharing.PublicApp = {
// regular actions
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.initialDir = $('#dir').val();

Loading…
Cancel
Save