Kouhei Sutou
null+****@clear*****
Sun Nov 23 12:27:36 JST 2014
Kouhei Sutou 2014-11-23 12:27:36 +0900 (Sun, 23 Nov 2014) New Revision: 4a3235ca4ca505f9aa123c0b7874338e4f59307f https://github.com/groonga/groonga-admin/commit/4a3235ca4ca505f9aa123c0b7874338e4f59307f Message: Use incremental search in more inputs Modified files: app/views/tables/search.html Modified: app/views/tables/search.html (+10 -5) =================================================================== --- app/views/tables/search.html 2014-11-23 12:22:19 +0900 (9246834) +++ app/views/tables/search.html 2014-11-23 12:27:36 +0900 (bbddeae) @@ -31,9 +31,11 @@ <tr ng-repeat="column in allColumns track by $index"> <td>{{column.name}}</td> <td><input type="checkbox" - ng-model="column.output"></td> + ng-model="column.output" + ng-change="incrementalSearch()"></td> <td><input type="checkbox" - ng-model="column.drilldown"></td> + ng-model="column.drilldown" + ng-change="incrementalSearch()"></td> </tr> </tbody> </table> @@ -72,7 +74,8 @@ <span ng-repeat="indexedColumn in indexedColumns track by $index"> <label> <input type="checkbox" - ng-model="indexedColumn.inUse"> + ng-model="indexedColumn.inUse" + ng-change="incrementalSearch()"> {{indexedColumn.label}} </label> </span> @@ -105,7 +108,8 @@ <span class="glyphicon glyphicon-calendar"></span> </button> <div class="dropdown-menu" role="menu"> - <datetimepicker ng-model="timeColumn.start"/> + <datetimepicker ng-model="timeColumn.start" + ng-change="incrementalSearch()"/> </div> </div> <span class="form-control"> @@ -125,7 +129,8 @@ <span class="glyphicon glyphicon-calendar"></span> </button> <div class="dropdown-menu" role="menu"> - <datetimepicker ng-model="timeColumn.end"/> + <datetimepicker ng-model="timeColumn.end" + ng-change="incrementalSearch()"/> </div> </div> <span class="form-control"> -------------- next part -------------- HTML����������������������������... 下載