Changeset 1165 for trunk/modules


Ignore:
Timestamp:
02/13/09 23:04:29 (11 years ago)
Author:
nicholasbs
Message:

Fixes #1386 by adding a value attribute to all checkboxes/radio buttons that didn't have any.

Location:
trunk/modules
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/modules/InlineStyler/InlineStyler.js

    r1085 r1165  
    462462    input.name = this.dialog.createId("borderCollapse"); 
    463463    input.type = "checkbox"; 
     464    input.value = "on"; 
    464465    this.inputs.styles['borderCollapse'] = input; 
    465466    input.id = "f_st_borderCollapse"; 
  • trunk/modules/InsertTable/dialog.html

    r1044 r1165  
    2828    <td style="width: 4em; text-align: right">Cols:</td> 
    2929    <td><input type="text" name="[cols]" id="[cols]" size="5" title="_(Number of columns)"  /></td> 
    30     <td style="text-align: right"><input type="checkbox" name="[fixed]" id="[fixed]" /></td> 
     30    <td style="text-align: right"><input type="checkbox" name="[fixed]" id="[fixed]" value="on" /></td> 
    3131    <td colspan="2"><label 
    3232    ><l10n>Fixed width columns</l10n></label></td> 
     
    7373<input type="text" size="7" id="[border_color]" name="[border_color]"/> 
    7474<br /><l10n>Collapse borders:</l10n>  
    75 <input type="checkbox" name="[border_collapse]" id="[border_collapse]" /> 
     75<input type="checkbox" name="[border_collapse]" id="[border_collapse]" value="on" /> 
    7676 
    7777<div class="space"></div> 
  • trunk/modules/InsertTable/insert_table.html

    r859 r1165  
    8484    <td style="width: 4em; text-align: right">Cols:</td> 
    8585    <td><input type="text" name="cols" id="f_cols" size="5" title="Number of columns" value="4" /></td> 
    86     <td style="text-align: right"><input type="checkbox" checked="checked" name="fixed" id="f_fixed" /></td> 
     86    <td style="text-align: right"><input type="checkbox" checked="checked" name="fixed" id="f_fixed" value="on" /></td> 
    8787    <td colspan="2"><label for="f_fixed" 
    8888    >Fixed width columns</label></td> 
Note: See TracChangeset for help on using the changeset viewer.