[Search] Changed ng-keyup to ng-change

In the search template. Also small comment change.
This commit is contained in:
shale 2015-07-27 11:52:17 -07:00
parent 232a648fbd
commit 5e858f73d5
2 changed files with 4 additions and 15 deletions

View File

@ -27,22 +27,11 @@
type="text"
value=""
ng-model="ngModel.input"
ng-keyup="controller.search()" />
<!--mct-control key="searchbar-control"
ng-model="ngModel"
structure="{cssclass: search-input, size: 50}">asdf
</mct-control>
<mct-include key="textfield"
ng-model="ngModel"
ng-required="false"
ng-pattern=""
structure="{cssclass: search-input, size: 50}">
</mct-include-->
<mct-control key="textfield"
ng-change="controller.search()" />
<!--mct-control key="textfield"
ng-model="ngModel"
structure="{cssclass: 'search-input', size: '50px'}">
</mct-control>
</mct-control-->
</div>
<!-- This div exists to determine scroll bar location -->

View File

@ -73,7 +73,7 @@ define(function () {
function search() {
var date = new Date(),
timestamp = date.getTime(),
inputText = $scope.ngModel.input;//document.getElementById(inputID).value;
inputText = $scope.ngModel.input;
// Update whether the file tree should be displayed
if (inputText === '') {