Showing
1 changed file
with
3 additions
and
2 deletions
@@ -622,10 +622,11 @@ $(document).on("change", ".wqt_checkbox,.wqt_all", function() { | @@ -622,10 +622,11 @@ $(document).on("change", ".wqt_checkbox,.wqt_all", function() { | ||
622 | 622 | ||
623 | }); | 623 | }); |
624 | if(_isAdvance0&&_isAdvance1){ | 624 | if(_isAdvance0&&_isAdvance1){ |
625 | + $('#onshelve').addClass('disabled'); | ||
625 | return; | 626 | return; |
626 | } | 627 | } |
627 | 628 | ||
628 | - if (_count1 == g.selected.length) { | 629 | +/* if (_count1 == g.selected.length) { |
629 | $('#onshelve').removeClass('disabled'); | 630 | $('#onshelve').removeClass('disabled'); |
630 | } else { | 631 | } else { |
631 | $('#onshelve').addClass('disabled'); | 632 | $('#onshelve').addClass('disabled'); |
@@ -635,7 +636,7 @@ $(document).on("change", ".wqt_checkbox,.wqt_all", function() { | @@ -635,7 +636,7 @@ $(document).on("change", ".wqt_checkbox,.wqt_all", function() { | ||
635 | $('#offshelve').removeClass('disabled'); | 636 | $('#offshelve').removeClass('disabled'); |
636 | } else { | 637 | } else { |
637 | $('#offshelve').addClass('disabled'); | 638 | $('#offshelve').addClass('disabled'); |
638 | - } | 639 | + }*/ |
639 | }); | 640 | }); |
640 | 641 | ||
641 | /** | 642 | /** |
-
Please register or login to post a comment