Browse Source

update

master
windy 8 years ago
parent
commit
15d00c210f
  1. 9
      bi/base.js
  2. 9
      bi/case.js
  3. 9
      docs/base.js
  4. 9
      docs/case.js
  5. 5
      src/base/single/editor/editor.js
  6. 4
      src/base/single/input/input.js
  7. 4
      src/case/editor/editor.search.js
  8. 5
      src/case/editor/editor.sign.js

9
bi/base.js

@ -18216,11 +18216,6 @@ BI.Editor = BI.inherit(BI.Single, {
return BI.trim(this.editor.getValue());
},
setValid: function (b) {
BI.Editor.superclass.setValid.apply(this, arguments);
this.editor.setValid(b);
},
isEditing: function () {
return this.editor.isEditing();
},
@ -19483,8 +19478,8 @@ BI.Input = BI.inherit(BI.Single, {
return this._lastValidValue;
},
setValid: function () {
BI.Input.superclass.setValid.apply(this, arguments);
_setValid: function () {
BI.Input.superclass._setValid.apply(this, arguments);
if (this.isValid()) {
this._lastValidValue = this.getValue();
this.element.removeClass("bi-input-error");

9
bi/case.js

@ -5185,10 +5185,6 @@ BI.SearchEditor = BI.inherit(BI.Widget, {
}
},
setValid: function (b) {
this.editor.setValid(b);
},
isEditing: function () {
return this.editor.isEditing();
},
@ -5867,11 +5863,6 @@ BI.SignEditor = BI.inherit(BI.Widget, {
return this.editor.isValid();
},
setValid: function (v) {
BI.SignEditor.superclass.setValid.apply(this, arguments);
this.editor.setValid(v);
},
setErrorText: function (text) {
this.editor.setErrorText(text);
},

9
docs/base.js

@ -18216,11 +18216,6 @@ BI.Editor = BI.inherit(BI.Single, {
return BI.trim(this.editor.getValue());
},
setValid: function (b) {
BI.Editor.superclass.setValid.apply(this, arguments);
this.editor.setValid(b);
},
isEditing: function () {
return this.editor.isEditing();
},
@ -19483,8 +19478,8 @@ BI.Input = BI.inherit(BI.Single, {
return this._lastValidValue;
},
setValid: function () {
BI.Input.superclass.setValid.apply(this, arguments);
_setValid: function () {
BI.Input.superclass._setValid.apply(this, arguments);
if (this.isValid()) {
this._lastValidValue = this.getValue();
this.element.removeClass("bi-input-error");

9
docs/case.js

@ -5185,10 +5185,6 @@ BI.SearchEditor = BI.inherit(BI.Widget, {
}
},
setValid: function (b) {
this.editor.setValid(b);
},
isEditing: function () {
return this.editor.isEditing();
},
@ -5867,11 +5863,6 @@ BI.SignEditor = BI.inherit(BI.Widget, {
return this.editor.isValid();
},
setValid: function (v) {
BI.SignEditor.superclass.setValid.apply(this, arguments);
this.editor.setValid(v);
},
setErrorText: function (text) {
this.editor.setErrorText(text);
},

5
src/base/single/editor/editor.js

@ -292,11 +292,6 @@ BI.Editor = BI.inherit(BI.Single, {
return BI.trim(this.editor.getValue());
},
setValid: function (b) {
BI.Editor.superclass.setValid.apply(this, arguments);
this.editor.setValid(b);
},
isEditing: function () {
return this.editor.isEditing();
},

4
src/base/single/input/input.js

@ -241,8 +241,8 @@ BI.Input = BI.inherit(BI.Single, {
return this._lastValidValue;
},
setValid: function () {
BI.Input.superclass.setValid.apply(this, arguments);
_setValid: function () {
BI.Input.superclass._setValid.apply(this, arguments);
if (this.isValid()) {
this._lastValidValue = this.getValue();
this.element.removeClass("bi-input-error");

4
src/case/editor/editor.search.js

@ -158,10 +158,6 @@ BI.SearchEditor = BI.inherit(BI.Widget, {
}
},
setValid: function (b) {
this.editor.setValid(b);
},
isEditing: function () {
return this.editor.isEditing();
},

5
src/case/editor/editor.sign.js

@ -206,11 +206,6 @@ BI.SignEditor = BI.inherit(BI.Widget, {
return this.editor.isValid();
},
setValid: function (v) {
BI.SignEditor.superclass.setValid.apply(this, arguments);
this.editor.setValid(v);
},
setErrorText: function (text) {
this.editor.setErrorText(text);
},

Loading…
Cancel
Save