Showing
1 changed file
with
6 additions
and
4 deletions
@@ -662,14 +662,16 @@ $(document).on("change", ".wqt_checkbox,.wqt_all", function () { | @@ -662,14 +662,16 @@ $(document).on("change", ".wqt_checkbox,.wqt_all", function () { | ||
662 | 662 | ||
663 | }); | 663 | }); |
664 | if (_isAdvance0 && _isAdvance1) { | 664 | if (_isAdvance0 && _isAdvance1) { |
665 | + $('#onshelve').addClass('disabled'); | ||
665 | return; | 666 | return; |
666 | } | 667 | } |
667 | 668 | ||
668 | - if (_count1 == g.selected.length) { | ||
669 | $('#onshelve').removeClass('disabled'); | 669 | $('#onshelve').removeClass('disabled'); |
670 | - } else { | ||
671 | - $('#onshelve').addClass('disabled'); | ||
672 | - } | 670 | + //if (_count1 == g.selected.length) { |
671 | + // $('#onshelve').removeClass('disabled'); | ||
672 | + //} else { | ||
673 | + // $('#onshelve').addClass('disabled'); | ||
674 | + //} | ||
673 | 675 | ||
674 | if (_count2 == g.selected.length) { | 676 | if (_count2 == g.selected.length) { |
675 | $('#offshelve').removeClass('disabled'); | 677 | $('#offshelve').removeClass('disabled'); |
-
Please register or login to post a comment