Make WordPress Core


Ignore:
Timestamp:
11/18/2005 09:36:43 AM (19 years ago)
Author:
ryan
Message:

Radio selection smartness. Props filosofo. fixes #1895

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/options-permalink.php

    r3112 r3148  
    3636function blurry() {
    3737if (!document.getElementById) return;
     38
     39var structure = document.getElementById('permalink_structure');
     40structure.onfocus = function () { document.getElementById('custom_selection').checked = 'checked'; }
    3841
    3942var aInputs = document.getElementsByTagName('input');
     
    136139<p>
    137140<label>
    138 <input name="selection" type="radio" value="custom" class="tog"
     141<input name="selection" id="custom_selection" type="radio" value="custom" class="tog"
    139142<?php if ( !in_array($permalink_structure, $structures) ) { ?>
    140143checked="checked"
Note: See TracChangeset for help on using the changeset viewer.