Browse Source

Merge pull request #368 in FUI/fineui from ~TELLER/fineui:bugfix/BI-18702 to master

* commit 'd38b58ba1abcf692e14dd156f5259536a7a47f82':
  BI-18702
es6
guy 7 years ago
parent
commit
18569f5a20
  1. 8
      dist/bundle.js
  2. 8
      dist/widget.js
  3. 7
      src/widget/singleselect/trigger/searcher.singleselect.js

8
dist/bundle.js vendored

@ -105174,8 +105174,9 @@ BI.SingleSelectSearcher = BI.inherit(BI.Widget, {
return self.editor.getValue();
},
itemsCreator: function (op, callback) {
op.keyword = self.editor.getValue();
this.setKeyword(op.keyword);
var keyword = self.editor.getValue();
op.keywords = [keyword];
this.setKeyword(keyword);
o.itemsCreator(op, callback);
},
value: o.value
@ -105271,7 +105272,8 @@ BI.SingleSelectSearcher.EVENT_START = "EVENT_START";
BI.SingleSelectSearcher.EVENT_STOP = "EVENT_STOP";
BI.SingleSelectSearcher.EVENT_PAUSE = "EVENT_PAUSE";
BI.SingleSelectSearcher.EVENT_SEARCHING = "EVENT_SEARCHING";
BI.shortcut("bi.single_select_searcher", BI.SingleSelectSearcher);/**
BI.shortcut("bi.single_select_searcher", BI.SingleSelectSearcher);
/**
* 单选加载数据搜索loader面板
* Created by guy on 15/11/4.
* @class BI.SingleSelectSearchLoader

8
dist/widget.js vendored

@ -17710,8 +17710,9 @@ BI.SingleSelectSearcher = BI.inherit(BI.Widget, {
return self.editor.getValue();
},
itemsCreator: function (op, callback) {
op.keyword = self.editor.getValue();
this.setKeyword(op.keyword);
var keyword = self.editor.getValue();
op.keywords = [keyword];
this.setKeyword(keyword);
o.itemsCreator(op, callback);
},
value: o.value
@ -17807,7 +17808,8 @@ BI.SingleSelectSearcher.EVENT_START = "EVENT_START";
BI.SingleSelectSearcher.EVENT_STOP = "EVENT_STOP";
BI.SingleSelectSearcher.EVENT_PAUSE = "EVENT_PAUSE";
BI.SingleSelectSearcher.EVENT_SEARCHING = "EVENT_SEARCHING";
BI.shortcut("bi.single_select_searcher", BI.SingleSelectSearcher);/**
BI.shortcut("bi.single_select_searcher", BI.SingleSelectSearcher);
/**
* 单选加载数据搜索loader面板
* Created by guy on 15/11/4.
* @class BI.SingleSelectSearchLoader

7
src/widget/singleselect/trigger/searcher.singleselect.js

@ -44,8 +44,9 @@ BI.SingleSelectSearcher = BI.inherit(BI.Widget, {
return self.editor.getValue();
},
itemsCreator: function (op, callback) {
op.keyword = self.editor.getValue();
this.setKeyword(op.keyword);
var keyword = self.editor.getValue();
op.keywords = [keyword];
this.setKeyword(keyword);
o.itemsCreator(op, callback);
},
value: o.value
@ -141,4 +142,4 @@ BI.SingleSelectSearcher.EVENT_START = "EVENT_START";
BI.SingleSelectSearcher.EVENT_STOP = "EVENT_STOP";
BI.SingleSelectSearcher.EVENT_PAUSE = "EVENT_PAUSE";
BI.SingleSelectSearcher.EVENT_SEARCHING = "EVENT_SEARCHING";
BI.shortcut("bi.single_select_searcher", BI.SingleSelectSearcher);
BI.shortcut("bi.single_select_searcher", BI.SingleSelectSearcher);

Loading…
Cancel
Save