Kouhei Sutou
null+****@clear*****
Sun Jan 4 18:34:11 JST 2015
Kouhei Sutou 2015-01-04 18:34:11 +0900 (Sun, 04 Jan 2015) New Revision: dfe7ca4a8c4958d1b5d4863c33ace17e2945cebd https://github.com/groonga/groonga-admin/commit/dfe7ca4a8c4958d1b5d4863c33ace17e2945cebd Message: table search: don't use passive form Modified files: app/scripts/controllers/table-search-controller.js app/views/tables/search.html Modified: app/scripts/controllers/table-search-controller.js (+2 -2) =================================================================== --- app/scripts/controllers/table-search-controller.js 2015-01-04 18:28:27 +0900 (eafbbc6) +++ app/scripts/controllers/table-search-controller.js 2015-01-04 18:34:11 +0900 (763aef8) @@ -353,11 +353,11 @@ angular.module('groongaAdminApp') var date = timeColumnInfo.unit.percentToDate(value / 100); return date.toLocaleString(); }, - onRangeChanged: function() { + onRangeChange: function() { timeColumnInfo.syncFromRange(); incrementalSearch(); }, - onUnitChanged: function() { + onUnitChange: function() { timeColumnInfo.updateRangeByDateRange(timeColumnInfo.start, timeColumnInfo.end); } Modified: app/views/tables/search.html (+2 -2) =================================================================== --- app/views/tables/search.html 2015-01-04 18:28:27 +0900 (2def493) +++ app/views/tables/search.html 2015-01-04 18:34:11 +0900 (2a5ddb6) @@ -111,7 +111,7 @@ <div class="input-group"> {{timeColumn.name}}: <slider ng-model="timeColumn.range" - ng-change="timeColumn.onRangeChanged()" + ng-change="timeColumn.onRangeChange()" min="0" step="1" max="100" @@ -121,7 +121,7 @@ tooltipsplit="true"></slider> <select ng-options="unit.label for unit in orderedTimeColumnUnits" ng-model="timeColumn.unit" - ng-change="timeColumn.onUnitChanged()"></select> + ng-change="timeColumn.onUnitChange()"></select> </div> </div> </form> -------------- next part -------------- HTML����������������������������...Download