Browse Source

无JIRA任务 refactor: Clear之前的Change

es6
windy 6 years ago
parent
commit
4a8e9a5b87
  1. 2
      dist/bundle.ie.js
  2. 18
      dist/bundle.ie.min.js
  3. 2
      dist/bundle.js
  4. 26
      dist/bundle.min.js
  5. 2
      dist/fineui.ie.js
  6. 18
      dist/fineui.ie.min.js
  7. 2
      dist/fineui.js
  8. 26
      dist/fineui.min.js
  9. 2
      dist/fineui_without_jquery_polyfill.js
  10. 2
      dist/utils.min.js
  11. 2
      dist/widget.js
  12. 2
      src/widget/editor/editor.search.js

2
dist/bundle.ie.js vendored

@ -63770,6 +63770,8 @@ BI.SearchEditor = BI.inherit(BI.Widget, {
this.clear.on(BI.IconButton.EVENT_CHANGE, function () { this.clear.on(BI.IconButton.EVENT_CHANGE, function () {
self.setValue(""); self.setValue("");
self.fireEvent(BI.Controller.EVENT_CHANGE, BI.Events.STOPEDIT); self.fireEvent(BI.Controller.EVENT_CHANGE, BI.Events.STOPEDIT);
// 从有内容到无内容的清空也是一次change
self.fireEvent(BI.SearchEditor.EVENT_CHANGE);
self.fireEvent(BI.SearchEditor.EVENT_CLEAR); self.fireEvent(BI.SearchEditor.EVENT_CLEAR);
}); });
BI.createWidget({ BI.createWidget({

18
dist/bundle.ie.min.js vendored

File diff suppressed because one or more lines are too long

2
dist/bundle.js vendored

@ -64174,6 +64174,8 @@ BI.SearchEditor = BI.inherit(BI.Widget, {
this.clear.on(BI.IconButton.EVENT_CHANGE, function () { this.clear.on(BI.IconButton.EVENT_CHANGE, function () {
self.setValue(""); self.setValue("");
self.fireEvent(BI.Controller.EVENT_CHANGE, BI.Events.STOPEDIT); self.fireEvent(BI.Controller.EVENT_CHANGE, BI.Events.STOPEDIT);
// 从有内容到无内容的清空也是一次change
self.fireEvent(BI.SearchEditor.EVENT_CHANGE);
self.fireEvent(BI.SearchEditor.EVENT_CLEAR); self.fireEvent(BI.SearchEditor.EVENT_CLEAR);
}); });
BI.createWidget({ BI.createWidget({

26
dist/bundle.min.js vendored

File diff suppressed because one or more lines are too long

2
dist/fineui.ie.js vendored

@ -64015,6 +64015,8 @@ BI.SearchEditor = BI.inherit(BI.Widget, {
this.clear.on(BI.IconButton.EVENT_CHANGE, function () { this.clear.on(BI.IconButton.EVENT_CHANGE, function () {
self.setValue(""); self.setValue("");
self.fireEvent(BI.Controller.EVENT_CHANGE, BI.Events.STOPEDIT); self.fireEvent(BI.Controller.EVENT_CHANGE, BI.Events.STOPEDIT);
// 从有内容到无内容的清空也是一次change
self.fireEvent(BI.SearchEditor.EVENT_CHANGE);
self.fireEvent(BI.SearchEditor.EVENT_CLEAR); self.fireEvent(BI.SearchEditor.EVENT_CLEAR);
}); });
BI.createWidget({ BI.createWidget({

18
dist/fineui.ie.min.js vendored

File diff suppressed because one or more lines are too long

2
dist/fineui.js vendored

@ -64419,6 +64419,8 @@ BI.SearchEditor = BI.inherit(BI.Widget, {
this.clear.on(BI.IconButton.EVENT_CHANGE, function () { this.clear.on(BI.IconButton.EVENT_CHANGE, function () {
self.setValue(""); self.setValue("");
self.fireEvent(BI.Controller.EVENT_CHANGE, BI.Events.STOPEDIT); self.fireEvent(BI.Controller.EVENT_CHANGE, BI.Events.STOPEDIT);
// 从有内容到无内容的清空也是一次change
self.fireEvent(BI.SearchEditor.EVENT_CHANGE);
self.fireEvent(BI.SearchEditor.EVENT_CLEAR); self.fireEvent(BI.SearchEditor.EVENT_CLEAR);
}); });
BI.createWidget({ BI.createWidget({

26
dist/fineui.min.js vendored

File diff suppressed because one or more lines are too long

2
dist/fineui_without_jquery_polyfill.js vendored

@ -47290,6 +47290,8 @@ BI.SearchEditor = BI.inherit(BI.Widget, {
this.clear.on(BI.IconButton.EVENT_CHANGE, function () { this.clear.on(BI.IconButton.EVENT_CHANGE, function () {
self.setValue(""); self.setValue("");
self.fireEvent(BI.Controller.EVENT_CHANGE, BI.Events.STOPEDIT); self.fireEvent(BI.Controller.EVENT_CHANGE, BI.Events.STOPEDIT);
// 从有内容到无内容的清空也是一次change
self.fireEvent(BI.SearchEditor.EVENT_CHANGE);
self.fireEvent(BI.SearchEditor.EVENT_CLEAR); self.fireEvent(BI.SearchEditor.EVENT_CLEAR);
}); });
BI.createWidget({ BI.createWidget({

2
dist/utils.min.js vendored

File diff suppressed because one or more lines are too long

2
dist/widget.js vendored

@ -4639,6 +4639,8 @@ BI.SearchEditor = BI.inherit(BI.Widget, {
this.clear.on(BI.IconButton.EVENT_CHANGE, function () { this.clear.on(BI.IconButton.EVENT_CHANGE, function () {
self.setValue(""); self.setValue("");
self.fireEvent(BI.Controller.EVENT_CHANGE, BI.Events.STOPEDIT); self.fireEvent(BI.Controller.EVENT_CHANGE, BI.Events.STOPEDIT);
// 从有内容到无内容的清空也是一次change
self.fireEvent(BI.SearchEditor.EVENT_CHANGE);
self.fireEvent(BI.SearchEditor.EVENT_CLEAR); self.fireEvent(BI.SearchEditor.EVENT_CLEAR);
}); });
BI.createWidget({ BI.createWidget({

2
src/widget/editor/editor.search.js

@ -35,6 +35,8 @@ BI.SearchEditor = BI.inherit(BI.Widget, {
this.clear.on(BI.IconButton.EVENT_CHANGE, function () { this.clear.on(BI.IconButton.EVENT_CHANGE, function () {
self.setValue(""); self.setValue("");
self.fireEvent(BI.Controller.EVENT_CHANGE, BI.Events.STOPEDIT); self.fireEvent(BI.Controller.EVENT_CHANGE, BI.Events.STOPEDIT);
// 从有内容到无内容的清空也是一次change
self.fireEvent(BI.SearchEditor.EVENT_CHANGE);
self.fireEvent(BI.SearchEditor.EVENT_CLEAR); self.fireEvent(BI.SearchEditor.EVENT_CLEAR);
}); });
BI.createWidget({ BI.createWidget({

Loading…
Cancel
Save