mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
Replace hacky backspacing with clearValue.
This commit is contained in:
parent
745d45b770
commit
61d0053bb2
1 changed files with 5 additions and 7 deletions
|
@ -28,17 +28,15 @@ define(function (require) {
|
|||
|
||||
setFromTime: function setFromTime(timeString) {
|
||||
return thisTime.findByCssSelector('input[ng-model=\'absolute.from\']')
|
||||
.type('\b' + '\b' + '\b' + '\b' + '\b' + '\b' + '\b' +
|
||||
'\b' + '\b' + '\b' + '\b' + '\b' + '\b' + '\b' + '\b' + '\b' +
|
||||
'\b' + '\b' + '\b' + '\b' + '\b' + '\b' + '\b' + timeString);
|
||||
.clearValue()
|
||||
.type(timeString);
|
||||
},
|
||||
|
||||
setToTime: function setToTime(timeString) {
|
||||
return thisTime
|
||||
.findByCssSelector('input[ng-model=\'absolute.to\']')
|
||||
.type('\b' + '\b' + '\b' + '\b' + '\b' + '\b' + '\b' +
|
||||
'\b' + '\b' + '\b' + '\b' + '\b' + '\b' + '\b' + '\b' + '\b' +
|
||||
'\b' + '\b' + '\b' + '\b' + '\b' + '\b' + '\b' + timeString);
|
||||
.clearValue()
|
||||
.type(timeString);
|
||||
},
|
||||
|
||||
clickGoButton: function clickGoButton() {
|
||||
|
@ -160,7 +158,7 @@ define(function (require) {
|
|||
getBarChartData: function getBarChartData() {
|
||||
// var barMap = {};
|
||||
var barArray = [];
|
||||
common.log('in getBarChartData');
|
||||
common.debug('in getBarChartData');
|
||||
return thisTime
|
||||
.findAllByCssSelector('rect')
|
||||
.then(function (chartData) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue