Spaces:
Running
Running
Update wps-test/js/ribbon.js
Browse files- wps-test/js/ribbon.js +8 -0
wps-test/js/ribbon.js
CHANGED
@@ -57,6 +57,8 @@ function GetImage(control) {
|
|
57 |
return "images/M.svg"
|
58 |
case "btnShowcx":
|
59 |
return "images/M.svg"
|
|
|
|
|
60 |
default:
|
61 |
;
|
62 |
}
|
@@ -78,6 +80,12 @@ function OnGetEnabled(control) {
|
|
78 |
return bFlag
|
79 |
break
|
80 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
81 |
default:
|
82 |
break
|
83 |
}
|
|
|
57 |
return "images/M.svg"
|
58 |
case "btnShowcx":
|
59 |
return "images/M.svg"
|
60 |
+
case "btnShowcx2":
|
61 |
+
return "images/M.svg"
|
62 |
default:
|
63 |
;
|
64 |
}
|
|
|
80 |
return bFlag
|
81 |
break
|
82 |
}
|
83 |
+
case "btnShowcx2":
|
84 |
+
{
|
85 |
+
let bFlag = wps.PluginStorage.getItem("EnableFlag")
|
86 |
+
return bFlag
|
87 |
+
break
|
88 |
+
}
|
89 |
default:
|
90 |
break
|
91 |
}
|