From dcfafcbdad90e90102a51538a6fd889039d5434e Mon Sep 17 00:00:00 2001 From: "Frank.Qiu" Date: Thu, 7 Dec 2017 20:32:10 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8D=95=E9=80=89=E9=A1=B9=E7=82=B9=E5=9C=88?= =?UTF-8?q?=E4=B8=8D=E8=83=BD=E9=80=89=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bi/case.js | 3 --- dist/bundle.js | 3 --- dist/case.js | 3 --- src/case/button/item.singleselect.radio.js | 3 --- 4 files changed, 12 deletions(-) diff --git a/bi/case.js b/bi/case.js index e61578d98..4a34430c4 100644 --- a/bi/case.js +++ b/bi/case.js @@ -344,9 +344,6 @@ BI.SingleSelectRadioItem = BI.inherit(BI.BasicButton, { type: "bi.radio" }); this.radio.on(BI.Controller.EVENT_CHANGE, function (type) { - if (type === BI.Events.CLICK) { - self.setSelected(!self.isSelected()); - } self.fireEvent(BI.Controller.EVENT_CHANGE, arguments); }); this.text = BI.createWidget({ diff --git a/dist/bundle.js b/dist/bundle.js index 3a9784df6..a79a0981a 100644 --- a/dist/bundle.js +++ b/dist/bundle.js @@ -61802,9 +61802,6 @@ BI.SingleSelectRadioItem = BI.inherit(BI.BasicButton, { type: "bi.radio" }); this.radio.on(BI.Controller.EVENT_CHANGE, function (type) { - if (type === BI.Events.CLICK) { - self.setSelected(!self.isSelected()); - } self.fireEvent(BI.Controller.EVENT_CHANGE, arguments); }); this.text = BI.createWidget({ diff --git a/dist/case.js b/dist/case.js index e61578d98..4a34430c4 100644 --- a/dist/case.js +++ b/dist/case.js @@ -344,9 +344,6 @@ BI.SingleSelectRadioItem = BI.inherit(BI.BasicButton, { type: "bi.radio" }); this.radio.on(BI.Controller.EVENT_CHANGE, function (type) { - if (type === BI.Events.CLICK) { - self.setSelected(!self.isSelected()); - } self.fireEvent(BI.Controller.EVENT_CHANGE, arguments); }); this.text = BI.createWidget({ diff --git a/src/case/button/item.singleselect.radio.js b/src/case/button/item.singleselect.radio.js index 0dcf18679..a43ad0e22 100644 --- a/src/case/button/item.singleselect.radio.js +++ b/src/case/button/item.singleselect.radio.js @@ -21,9 +21,6 @@ BI.SingleSelectRadioItem = BI.inherit(BI.BasicButton, { type: "bi.radio" }); this.radio.on(BI.Controller.EVENT_CHANGE, function (type) { - if (type === BI.Events.CLICK) { - self.setSelected(!self.isSelected()); - } self.fireEvent(BI.Controller.EVENT_CHANGE, arguments); }); this.text = BI.createWidget({