Changeset 128 for trunk/expressoMail1_2/js/preferences.js
- Timestamp:
- 12/11/07 16:47:03 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/expressoMail1_2/js/preferences.js
r83 r128 72 72 "<option value='11'>"+get_lang("Normal")+"</option>"+ 73 73 "<option value='15'>"+get_lang("Big")+"</option>"+ 74 "</select></td>"+ 75 "</tr>"+ 74 "</select></td></tr>"+ 75 "<tr><td> - " + get_lang("Use shortcuts") + "?" + "</td>"+ 76 "<td><input type='checkBox' id='check_use_shortcuts' name='check_use_shortcuts'></td></tr>"+ 76 77 "<tr><td colspan='2'> - " + get_lang('Signature') + "<br>"+ 77 78 "<textarea id='txt_signature' name='txt_signature' rows='3' cols='59'></textarea></td>"+ … … 80 81 "<td align='left'><input type='button' value='"+get_lang("Save")+"' onclick='prefe.save_form()'>"+ 81 82 "</tr>"+ 82 "</table>"; 83 "</table>"; 83 84 form_pref.appendChild(form); 84 85 var sel_nm = Element("sel_name_box"); … … 129 130 var txt_signature = Element("txt_signature"); 130 131 txt_signature.value = preferences.signature; 132 133 if( preferences.use_shortcuts == 1){Element("check_use_shortcuts").checked = true;} 131 134 } 132 135 … … 147 150 reload_page = true; 148 151 else if(preferences.font_size != Element("sel_size_font").value) 152 reload_page = true; 153 else if(preferences.use_shortcuts != Element("check_use_shortcuts").checked) 149 154 reload_page = true; 150 155 … … 170 175 prefe_string += Element("sel_size_font").value + "##"; 171 176 preferences.signature = Element("txt_signature").value; 172 prefe_string += url_encode(Element("txt_signature").value); 177 prefe_string += url_encode(Element("txt_signature").value) + "##"; 178 preferences.check_use_shortcuts = Element("check_use_shortcuts").checked ? 1 : 0; 179 prefe_string += Element("check_use_shortcuts").checked ? "1":"0"; 173 180 174 181 var _this = this; … … 187 194 var params = "prefe_string="+prefe_string; 188 195 cExecute(args,handler_preferences,params); 189 190 196 } 191 197 //Fecha a janela … … 209 215 210 216 if(! this.prefeW[div.id]) { 211 div.style.height = is_ie ? "3 45px" : "355px";217 div.style.height = is_ie ? "355px" : "365px"; 212 218 div.style.width = "510px"; 213 219 div.style.visibility = "hidden";
Note: See TracChangeset
for help on using the changeset viewer.