浏览代码

Merge pull request #181 from wix/yedidyak-patch-1

Added the fix for old API setting disabled for buttons to navigatorSe…
Guy Carmeli 8 年前
父节点
当前提交
1c0b1872cb
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1
    0
      src/deprecated/platformSpecificDeprecated.android.js

+ 1
- 0
src/deprecated/platformSpecificDeprecated.android.js 查看文件

@@ -170,6 +170,7 @@ function addTabIcon(tab) {
170 170
 function navigatorSetButtons(navigator, navigatorEventID, params) {
171 171
   if (params.rightButtons) {
172 172
     params.rightButtons.forEach(function(button) {
173
+      button.enabled = !button.disabled;
173 174
       if (button.icon) {
174 175
         const icon = resolveAssetSource(button.icon);
175 176
         if (icon) {