diff options
author | janekptacijarabaci <janekptacijarabaci@seznam.cz> | 2018-03-30 20:56:33 +0200 |
---|---|---|
committer | janekptacijarabaci <janekptacijarabaci@seznam.cz> | 2018-03-30 20:56:33 +0200 |
commit | 6f1fcab2d81caedd96d9404386bc92f9884c30ce (patch) | |
tree | 90b742808470ebfb8d55aea1f18fe172340f2170 /toolkit/content/browser-content.js | |
parent | 7f21e9c0cd6ec3178ea38f61c6c64c63fcef36b8 (diff) | |
download | UXP-6f1fcab2d81caedd96d9404386bc92f9884c30ce.tar UXP-6f1fcab2d81caedd96d9404386bc92f9884c30ce.tar.gz UXP-6f1fcab2d81caedd96d9404386bc92f9884c30ce.tar.lz UXP-6f1fcab2d81caedd96d9404386bc92f9884c30ce.tar.xz UXP-6f1fcab2d81caedd96d9404386bc92f9884c30ce.zip |
Bug 1363672 - Add step support to date picker
Diffstat (limited to 'toolkit/content/browser-content.js')
-rw-r--r-- | toolkit/content/browser-content.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/toolkit/content/browser-content.js b/toolkit/content/browser-content.js index 731b55185..b955bd29d 100644 --- a/toolkit/content/browser-content.js +++ b/toolkit/content/browser-content.js @@ -1728,9 +1728,10 @@ let DateTimePickerListener = { // element's value. value: Object.keys(value).length > 0 ? value : this._inputElement.value, - step: this._inputElement.step, min: this._inputElement.min, max: this._inputElement.max, + step: this._inputElement.getStep(), + stepBase: this._inputElement.getStepBase(), }, }); break; |