Skip to content

Commit

Permalink
#13 Resolve deprecated extra-icons
Browse files Browse the repository at this point in the history
  • Loading branch information
paronne committed Sep 15, 2020
1 parent a4722cc commit e77e760
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 9 deletions.
15 changes: 12 additions & 3 deletions svyPopupFilter/forms/svyCheckPopupFilter.frm
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ uuid:"007BC9DB-CAE3-473A-B54B-4CE6A4C50158"
{
json:{
alignment:null,
imageStyleClass:"fas fa-dot-circle",
location:{
x:1,
y:1
Expand All @@ -79,12 +80,14 @@ size:{
height:25,
width:25
},
styleClass:"text-primary clickable",
styleclass:"fas fa-dot-circle text-primary clickable"
},
location:"1,1",
name:"radioChecked",
size:"25,25",
typeName:"servoyextra-fontawesome",
styleClass:"text-primary clickable",
typeName:"bootstrapcomponents-label",
typeid:47,
uuid:"F2968EC8-08E2-444E-A288-9CE3D8709585"
}
Expand Down Expand Up @@ -202,6 +205,7 @@ items:[
{
json:{
faclass:"fa fa-close",
imageStyleClass:"fa fa-close",
location:{
x:1,
y:1
Expand All @@ -211,12 +215,14 @@ size:{
height:25,
width:25
},
styleClass:"pull-right btn-close text-tertiary clickable",
styleclass:"pull-right btn-close text-tertiary clickable"
},
location:"1,1",
name:"faClose",
size:"25,25",
typeName:"servoyextra-fontawesome",
styleClass:"pull-right btn-close text-tertiary clickable",
typeName:"bootstrapcomponents-label",
typeid:47,
uuid:"636EB405-3A21-4DC3-B08F-84A13A06182D"
}
Expand Down Expand Up @@ -305,6 +311,7 @@ items:[
{
json:{
alignment:null,
imageStyleClass:"fa fa-circle-o",
location:{
x:1,
y:1
Expand All @@ -314,12 +321,14 @@ size:{
height:25,
width:25
},
styleClass:"text-tertiary clickable",
styleclass:"fa fa-circle-o text-tertiary clickable"
},
location:"1,1",
name:"radioUnchecked",
size:"25,25",
typeName:"servoyextra-fontawesome",
styleClass:"text-tertiary clickable",
typeName:"bootstrapcomponents-label",
typeid:47,
uuid:"63D429BC-AB9C-448A-9045-AD20ECDA4C54"
},
Expand Down
15 changes: 9 additions & 6 deletions svyPopupFilter/forms/svyCheckPopupFilter.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,22 +56,25 @@ function onActionToggleUnchecked(event) {
*/
function updateUI() {

if (value) {
elements.radioChecked.styleclass = "fas fa-dot-circle text-primary clickable";
if (value) {
elements.radioChecked.removeStyleClass("text-tertiary");
elements.radioChecked.addStyleClass("text-primary");
elements.labelChecked.removeStyleClass("text-tertiary");
elements.labelChecked.addStyleClass("text-primary");

elements.radioUnchecked.styleclass = "fa fa-circle-o text-tertiary clickable"
elements.radioUnchecked.removeStyleClass("text-primary");
elements.radioUnchecked.addStyleClass("text-tertiary");
elements.labelUnchecked.removeStyleClass("text-primary");
elements.labelUnchecked.addStyleClass("text-tertiary");
} else {
elements.radioChecked.styleclass = "fa fa-circle-o text-tertiary clickable"
elements.radioChecked.removeStyleClass("text-primary");
elements.radioChecked.addStyleClass("text-tertiary");
elements.labelChecked.removeStyleClass("text-primary");
elements.labelChecked.addStyleClass("text-tertiary");

elements.radioUnchecked.styleclass = "fas fa-dot-circle text-primary clickable";
elements.radioUnchecked.removeStyleClass("text-tertiary");
elements.radioUnchecked.addStyleClass("text-primary");
elements.labelUnchecked.removeStyleClass("text-tertiary");
elements.labelUnchecked.addStyleClass("text-primary");
}

}

0 comments on commit e77e760

Please sign in to comment.