Project

General

Profile

« Previous | Next » 

Revision 53984

1. pages.component: Reinitialize keyword in search form when changing page type.
2. communities.component & divIds.component & div-help-contents.component & entities.component & page-help-contents.component & pages.component:
Bug fix: Change search forms to search on 'search' button click or enter.

View differences:

page-help-contents.component.html
28 28
            </div>
29 29
            <div class="uk-grid uk-margin-bottom">
30 30
              <form target="BSFormPanel_Admin_1" class="search">
31
                  <input #inputstring (keyup.enter)="filterBySearch(inputstring.value)" placeholder="Page Help Text..." type="text" class="uk-input uk-width-medium"/>
32
                  <button class="uk-button" type="submit">Search</button>
31
                  <!-- <input #inputstring (keyup.enter)="filterBySearch(inputstring.value)" placeholder="Page Help Text..." type="text" class="uk-input uk-width-medium"/>
32
                  <button class="uk-button" type="submit">Search</button> -->
33
                  <input type="text" class="uk-input uk-width-medium" placeholder="Page name..." aria-describedby="sizing-addon2"  [(ngModel)]="keyword"  name="keyword" >
34
                  <button (click)="filterBySearch(keyword)"  type="submit" class=" uk-button">
35
                     <span class="uk-icon">
36
                     <svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" icon="search" ratio="1"><circle fill="none" stroke="#000" stroke-width="1.1" cx="9" cy="9" r="7"></circle><path fill="none" stroke="#000" stroke-width="1.1" d="M14,14 L18,18 L14,14 Z"></path></svg>
37
                     </span>Search
38
                   </button>
33 39
              </form>
34 40
              <div *ngIf="!selectedPageId" class="filters marginBottom20">
35 41
                  <div class="links form-group form-inline">

Also available in: Unified diff