Skip to content

Commit

Permalink
Fixed #451
Browse files Browse the repository at this point in the history
  • Loading branch information
wolf4ood committed Feb 15, 2017
1 parent 9b2b5dc commit 5cc2981
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/components/schema/classesList.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ <h4 ng-show="$ctrl.label">
class="table table-striped table-bordered table-hover table-condensed pointer table-schema">
<thead>
<th colspan="10" class="hidden">
<input st-search="" ng-model="$ctrl.queryFilter" placeholder="Search class"
<input st-search="" ng-model="$ctrl.query" placeholder="Search class"
class="input-sm form-control "
type="text"/>
</th>
Expand Down
3 changes: 1 addition & 2 deletions src/components/schema/classesList.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@ let SchemaClassesController = function ($scope, $element, $attrs, $location, $mo
ctrl.$onChanges = (changes) => {
ctrl.queryFilter = changes.query.currentValue;
var elem = $element.find('input.form-control')[0];
elem.val = ctrl.queryFilter;
angular.element(elem).triggerHandler('input');
angular.element(elem).val(ctrl.queryFilter).triggerHandler('input');
}

ctrl.clusterStrategies = ['round-robin', "default", "balanced", "local"];
Expand Down
1 change: 0 additions & 1 deletion src/controllers/schema-controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ schemaModule.controller("SchemaController", ['$scope', '$routeParams', '$locatio
return SchemaService.isSystemClass(c);
}


let gMap = {};
$scope.systemClasses = $scope.listClassesTotal.filter((c) => {

Expand Down

0 comments on commit 5cc2981

Please sign in to comment.