Browse Source

无JIRA任务 propertychange处理完keydown需要把keycode重新设为null

es6
王瑞 6 years ago
parent
commit
48b81e6aa0
  1. 1
      dist/base.js
  2. 1
      dist/bundle.ie.js
  3. 6
      dist/bundle.ie.min.js
  4. 1
      dist/bundle.js
  5. 6
      dist/bundle.min.js
  6. 6
      dist/demo.js
  7. 1
      dist/fineui.ie.js
  8. 6
      dist/fineui.ie.min.js
  9. 1
      dist/fineui.js
  10. 6
      dist/fineui.min.js
  11. 1
      dist/fineui_without_jquery_polyfill.js
  12. 2
      dist/utils.min.js
  13. 1
      src/base/single/input/input.js

1
dist/base.js vendored

@ -9799,6 +9799,7 @@ BI.Input = BI.inherit(BI.Single, {
// 输入内容全选并直接删光,如果按键没放开就失去焦点不会触发keyup,被focusout覆盖了
// 这个事件在input的属性发生改变的时候就会触发(class的变化也算)
if (BI.isNotNull(keyCode)) {
keyCode = null;
inputEventValid = true;
self._keydown_ = true;
_keydown(keyCode);

1
dist/bundle.ie.js vendored

@ -44693,6 +44693,7 @@ BI.Input = BI.inherit(BI.Single, {
// 输入内容全选并直接删光,如果按键没放开就失去焦点不会触发keyup,被focusout覆盖了
// 这个事件在input的属性发生改变的时候就会触发(class的变化也算)
if (BI.isNotNull(keyCode)) {
keyCode = null;
inputEventValid = true;
self._keydown_ = true;
_keydown(keyCode);

6
dist/bundle.ie.min.js vendored

File diff suppressed because one or more lines are too long

1
dist/bundle.js vendored

@ -45232,6 +45232,7 @@ BI.Input = BI.inherit(BI.Single, {
// 输入内容全选并直接删光,如果按键没放开就失去焦点不会触发keyup,被focusout覆盖了
// 这个事件在input的属性发生改变的时候就会触发(class的变化也算)
if (BI.isNotNull(keyCode)) {
keyCode = null;
inputEventValid = true;
self._keydown_ = true;
_keydown(keyCode);

6
dist/bundle.min.js vendored

File diff suppressed because one or more lines are too long

6
dist/demo.js vendored

@ -625,7 +625,6 @@ BI.shortcut("demo.pager", Demo.Func);Demo.Editor = BI.inherit(BI.Widget, {
var editor1 = BI.createWidget({
type: "bi.editor",
cls: "bi-border",
value: "我先给个默认值",
watermark: "alert信息显示在下面",
errorText: "字段不可重名!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!",
width: 200,
@ -637,7 +636,6 @@ BI.shortcut("demo.pager", Demo.Func);Demo.Editor = BI.inherit(BI.Widget, {
var editor2 = BI.createWidget({
type: "bi.editor",
cls: "mvc-border",
value: "我先给个默认值",
watermark: "输入'a'会有错误信息",
disabled: true,
errorText: "字段不可重名",
@ -647,6 +645,7 @@ BI.shortcut("demo.pager", Demo.Func);Demo.Editor = BI.inherit(BI.Widget, {
}
return true;
},
allowBlank: true,
width: 200,
height: 24
});
@ -714,8 +713,7 @@ BI.shortcut("demo.pager", Demo.Func);Demo.Editor = BI.inherit(BI.Widget, {
});
}
});
BI.shortcut("demo.editor", Demo.Editor);
Demo.CodeEditor = BI.inherit(BI.Widget, {
BI.shortcut("demo.editor", Demo.Editor);Demo.CodeEditor = BI.inherit(BI.Widget, {
props: {
baseCls: "demo-editor"
},

1
dist/fineui.ie.js vendored

@ -44935,6 +44935,7 @@ BI.Input = BI.inherit(BI.Single, {
// 输入内容全选并直接删光,如果按键没放开就失去焦点不会触发keyup,被focusout覆盖了
// 这个事件在input的属性发生改变的时候就会触发(class的变化也算)
if (BI.isNotNull(keyCode)) {
keyCode = null;
inputEventValid = true;
self._keydown_ = true;
_keydown(keyCode);

6
dist/fineui.ie.min.js vendored

File diff suppressed because one or more lines are too long

1
dist/fineui.js vendored

@ -45474,6 +45474,7 @@ BI.Input = BI.inherit(BI.Single, {
// 输入内容全选并直接删光,如果按键没放开就失去焦点不会触发keyup,被focusout覆盖了
// 这个事件在input的属性发生改变的时候就会触发(class的变化也算)
if (BI.isNotNull(keyCode)) {
keyCode = null;
inputEventValid = true;
self._keydown_ = true;
_keydown(keyCode);

6
dist/fineui.min.js vendored

File diff suppressed because one or more lines are too long

1
dist/fineui_without_jquery_polyfill.js vendored

@ -32525,6 +32525,7 @@ BI.Input = BI.inherit(BI.Single, {
// 输入内容全选并直接删光,如果按键没放开就失去焦点不会触发keyup,被focusout覆盖了
// 这个事件在input的属性发生改变的时候就会触发(class的变化也算)
if (BI.isNotNull(keyCode)) {
keyCode = null;
inputEventValid = true;
self._keydown_ = true;
_keydown(keyCode);

2
dist/utils.min.js vendored

File diff suppressed because one or more lines are too long

1
src/base/single/input/input.js

@ -56,6 +56,7 @@ BI.Input = BI.inherit(BI.Single, {
// 输入内容全选并直接删光,如果按键没放开就失去焦点不会触发keyup,被focusout覆盖了
// 这个事件在input的属性发生改变的时候就会触发(class的变化也算)
if (BI.isNotNull(keyCode)) {
keyCode = null;
inputEventValid = true;
self._keydown_ = true;
_keydown(keyCode);

Loading…
Cancel
Save