src/cm/templates/site/text_share.html
changeset 565 95a5c06c4008
parent 439 8994d24e4b2f
equal deleted inserted replaced
564:dc415eb33a3f 565:95a5c06c4008
    73             <th class="check-column"><input type="checkbox" id="all_check" name="checkall"/>
    73             <th class="check-column"><input type="checkbox" id="all_check" name="checkall"/>
    74             <script type="text/javascript">
    74             <script type="text/javascript">
    75             <!--
    75             <!--
    76             $(function() {
    76             $(function() {
    77                 $("#all_check").click(function () {
    77                 $("#all_check").click(function () {
    78                 	checked = $("#all_check").attr('checked'); 
    78                 	checked = $("#all_check").prop('checked'); 
    79                 	$(".user_check").attr('checked', checked);
    79                 	$(".user_check").prop('checked', checked);
    80                 	check_activate_apply();
    80                 	check_activate_apply();
    81                   });                            
    81                   });                            
    82             }) ;
    82             }) ;
    83             -->
    83             -->
    84             </script>
    84             </script>
   143 
   143 
   144  <script type="text/javascript">                
   144  <script type="text/javascript">                
   145 <!--
   145 <!--
   146 $(function() {
   146 $(function() {
   147     $('select[name^=user-role-]').change(function(){
   147     $('select[name^=user-role-]').change(function(){
   148     	$('#save').removeAttr('disabled');
   148     	$('#save').prop('disabled',false);
   149     });
   149     });
   150 }) ;
   150 }) ;
   151 --> 
   151 --> 
   152 </script>                
   152 </script>                
   153 <input style="margin-left:20px;" name="save" id="save" type="submit" value="{% blocktrans %}Save{% endblocktrans %}" disabled="disabled"/>        
   153 <input style="margin-left:20px;" name="save" id="save" type="submit" value="{% blocktrans %}Save{% endblocktrans %}" disabled="disabled"/>