Revision 50064
Added by Sandro La Bruzzo over 6 years ago
mainPageController.js | ||
---|---|---|
96 | 96 |
$location.path("/query/q=" + $scope.query); |
97 | 97 |
}; |
98 | 98 |
|
99 |
$scope.makeQueryPid= function () { |
|
100 |
$location.path("/query/q=undefined").search({pid: $scope.queryPid}); |
|
101 |
}; |
|
102 |
|
|
99 | 103 |
$scope.$watch("query", function () { |
100 | 104 |
if($scope.query == null || $scope.query.length==0){ |
101 | 105 |
$scope.result_query=null; |
Also available in: Unified diff
made a new look