Ignore:
Timestamp:
Mar 12, 2014, 11:28:47 PM (10 years ago)
Author:
Miklfe
Message:

Version de lancement

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/MyPiwiShop/template/js/MyPiwiShop.js

    r27568 r27743  
    11(function($) {
    22        $(document).ready(function(){
     3       
     4                function _init_MyPiwiShop (){
    35                if($('#prod_sel').length){
    46                        var     $Sel = $('#prod-ch select#prod_sel option:selected').attr('value');
     
    79                };
    810                rempopt($Sel);
    9        
     11                }
     12               
     13                _init_MyPiwiShop ()
    1014       
    1115                $(document).on('change','#prod_sel',function(){
     
    2529                               
    2630                        if (typeof $prod[$Sel] != "undefined") {
    27                                 var $option     = $prod[$Sel].options; 
     31                                var $option     = $prod[$Sel].options;
    2832                                $('#options_prod').show();
    2933                                $.each($option,function(i, ele){
     
    3943                                                var $requi ='',
    4044                                                        $req   ='';
     45                                                $('#requi').hide();
    4146                                        };
    4247                                               
     
    7883                                $('#options_prod').hide();
    7984                        }
    80        
    81         }
     85                }
    8286               
    8387                $(document).on('change','.checkbox input[type=checkbox]', function () {
Note: See TracChangeset for help on using the changeset viewer.