Commit 43faa4971f1308a9a576b19f5305878c9eaed3bf
1 parent
454fa49d
Exists in
master
and in
8 other branches
Initial change of search button
Showing
2 changed files
with
6 additions
and
2 deletions
Show diff stats
src/app/pages/inicio/inicio.controller.js
... | ... | @@ -160,6 +160,10 @@ |
160 | 160 | vm.article.videoIsLoaded = true; |
161 | 161 | }; |
162 | 162 | |
163 | + InicioPageController.prototype.submitSearch = function() { | |
164 | + vm.$log.warn('No implemented yet.'); | |
165 | + }; | |
166 | + | |
163 | 167 | InicioPageController.prototype.filter = function() { |
164 | 168 | var vm = this; |
165 | 169 | ... | ... |
src/app/pages/inicio/inicio.html
... | ... | @@ -88,7 +88,7 @@ |
88 | 88 | <label for="articleQueryFilter1" class="control-label sr-only">Buscar programas:</label> |
89 | 89 | <input id="articleQueryFilter1" type="search" class="form-control input-search" ng-model="pageInicio.query" placeholder="Buscar programas" aria-label="Buscar programas" > |
90 | 90 | <span class="input-group-btn"> |
91 | - <button type="button" class="btn btn-default" ng-click="pageInicio.search()"> | |
91 | + <button type="button" class="btn btn-default" ng-click="pageInicio.submitSearch()"> | |
92 | 92 | <span class="icon-circle icon-small color-theme-common-bg"> |
93 | 93 | <span class="glyphicon glyphicon-search"></span> |
94 | 94 | </span> |
... | ... | @@ -120,7 +120,7 @@ |
120 | 120 | <label for="articleQueryFilter2" class="control-label sr-only">Buscar programas:</label> |
121 | 121 | <input id="articleQueryFilter2" type="search" class="form-control input-search" ng-model="pageInicio.query" placeholder="Buscar programas" aria-label="Buscar programas" > |
122 | 122 | <span class="input-group-btn"> |
123 | - <button type="button" class="btn btn-default" ng-click="pageInicio.search()"> | |
123 | + <button type="button" class="btn btn-default" ng-click="pageInicio.submitSearch()"> | |
124 | 124 | <span class="icon-circle icon-small color-theme-common-bg"> |
125 | 125 | <span class="glyphicon glyphicon-search"></span> |
126 | 126 | </span> | ... | ... |