Sfoglia il codice sorgente

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

Added the fix for old API setting disabled for buttons to navigatorSe…
Guy Carmeli 8 anni fa
parent
commit
1c0b1872cb
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1
    0
      src/deprecated/platformSpecificDeprecated.android.js

+ 1
- 0
src/deprecated/platformSpecificDeprecated.android.js Vedi File

@@ -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) {