Merge remote-tracking branch 'origin/dev' into feature/rails5

pull/4862/head
Jens Ulferts 8 years ago
commit 59fcaf9f24
No known key found for this signature in database
GPG Key ID: 3CAA4B1182CF5308
  1. 2
      extra/Apache/OpenProjectAuthentication.pm
  2. 5
      frontend/app/components/wp-details/wp-details-toolbar.directive.html
  3. 2
      frontend/tests/unit/tests/work_packages/directives/work-package-details-toolbar-test.js

@ -16,6 +16,8 @@ use APR::Table ();
use HTTP::Request::Common qw(POST);
use LWP::UserAgent;
use LWP::Protocol::http;
# use Apache2::Directive qw();

@ -10,6 +10,9 @@
disabled="wpEditModeState.active"
ng-if="displayWatchButton">
</wp-watcher-button>
<wp-upload-button work-package="workPackage"></wp-upload-button>
<button class="button dropdown-relative"
ng-disabled="!actionsAvailable"
has-dropdown-menu
@ -19,6 +22,4 @@
<span class="button--text" ng-bind="::I18n.t('js.button_more')"></span>
<i class="button--dropdown-indicator"></i>
</button>
<wp-upload-button work-package="workPackage"></wp-upload-button>
</div>

@ -83,7 +83,7 @@ describe('workPackageDetailsToolbar', function() {
element = $compile(element)(scope);
angular.element(document.body).append(element);
scope.$digest();
element.find('button:eq(1)').click();
element.find('button:eq(2)').click();
};
}));

Loading…
Cancel
Save