Skip to content

Commit

Permalink
Fix multiple document search issues
Browse files Browse the repository at this point in the history
Fix reference filename truncation in search
Add submit button to document search to remedy document search blocking submit button
  • Loading branch information
ebrockainq committed Oct 13, 2023
1 parent 18df04c commit 132319b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
2 changes: 1 addition & 1 deletion gui/src/app/direct/direct.less
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ p.cert_text {

// Overwritte findertree ul
.arrowed .finder-tree ul {
width: 300px;
width: 400px;
min-width: 100px;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,14 @@ <h4 class="modal-title">
<div ng-dropover ng-dropover-options="{'triggerEvent':'click', 'verticalOffset': 10}">
<button class="btn btn-default">Select document...</button>
<div ng-dropover-contents class="arrowed">
<form class="form-inline">
<div class="form-group">
<input type="text" class="form-control" placeholder="Search..." ng-model="ccdaDocSearch" style="margin-bottom: 10px;">
</div>
</form>
<finder-tree data="ccdaData" ng-model="ccdaDocument" search-filter="ccdaDocSearch"></finder-tree>
</div>
<form class="form-inline">
<div class="form-group">
<input type="text" class="form-control" placeholder="Search..." ng-model="ccdaDocSearch" style="margin-bottom: 10px;">
</div>
</form>
<finder-tree data="ccdaData" ng-model="ccdaDocument" search-filter="ccdaDocSearch"></finder-tree>
<button type="submit" class="btn btn-primary dropover-footer-btn" ng-disabled="!ccdaDocument.name" ng-click="save()">{{buttonSuccess}}</button>
</div>
</div>
</div>
<div class="col-md-8">
Expand Down

0 comments on commit 132319b

Please sign in to comment.