Merge branch 'test' into dev
gitea/salix/dev This commit looks good
Details
gitea/salix/dev This commit looks good
Details
This commit is contained in:
commit
759cca3989
|
@ -55,7 +55,7 @@ export default class InputNumber extends Textfield {
|
||||||
if ((this.validate() !== undefined && !this.validate()) ||
|
if ((this.validate() !== undefined && !this.validate()) ||
|
||||||
(this.max && this.value > this.max) ||
|
(this.max && this.value > this.max) ||
|
||||||
(this.min && this.value < this.min) ||
|
(this.min && this.value < this.min) ||
|
||||||
(this.step && this.value % this.step != 0))
|
(this.displayControls && (this.step && this.value % this.step != 0)))
|
||||||
this.$element[0].querySelector('.infix').classList.add('invalid', 'validated');
|
this.$element[0].querySelector('.infix').classList.add('invalid', 'validated');
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -18,11 +18,6 @@ class Controller {
|
||||||
this.filter = {hasVisible: true, isActive: true};
|
this.filter = {hasVisible: true, isActive: true};
|
||||||
}
|
}
|
||||||
|
|
||||||
$postLink() {
|
|
||||||
if (this.filter)
|
|
||||||
this.onSearch(this.filter);
|
|
||||||
}
|
|
||||||
|
|
||||||
stopEvent(event) {
|
stopEvent(event) {
|
||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
event.stopImmediatePropagation();
|
event.stopImmediatePropagation();
|
||||||
|
|
Loading…
Reference in New Issue