Fossil

Check-in [e4c9dd0905]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:When selecting the "Branching" checkbox, select the "newbranch" field just the other text entry widgets do. Another one of Andy Bradford's brilliant ideas.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: e4c9dd0905f2d4c4a49354e8301744ed3d2f94cd
User & Date: jan.nijtmans 2013-12-18 08:24:24.067
Context
2013-12-18
08:49
Add a checkbox to the ci_edit page which allows to hide a (partial) branch from the timeline. ... (check-in: 22a4e0c5a2 user: jan.nijtmans tags: trunk)
08:24
When selecting the "Branching" checkbox, select the "newbranch" field just the other text entry widgets do. Another one of Andy Bradford's brilliant ideas. ... (check-in: e4c9dd0905 user: jan.nijtmans tags: trunk)
06:37
Consistency fix for a Fossil link in the enhanced default skin. ... (check-in: 04186fcc12 user: mistachkin tags: trunk)
Changes
Unified Diff Ignore Whitespace Patch
Changes to src/info.c.
2204
2205
2206
2207
2208
2209
2210

2211
2212
2213
2214
2215
2216
2217
  ** chgcbn/chgbn: Handle change of (checkbox for) branch name in
  ** remaining of form.
  */
  @ <script>
  @ function chgcbn(checked, branch){
  @   val = gebi('brname').value.trim();
  @   if( !val || !checked ) val = branch;

  @   cidbrid = document.getElementById('cbranch');
  @   if( cidbrid ) cidbrid.textContent = val;
  @ }
  @ function chgbn(val, branch){
  @   if( !val ) val = branch;
  @   gebi('newbr').checked = (val!=branch);
  @   cidbrid = document.getElementById('cbranch');







>







2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
  ** chgcbn/chgbn: Handle change of (checkbox for) branch name in
  ** remaining of form.
  */
  @ <script>
  @ function chgcbn(checked, branch){
  @   val = gebi('brname').value.trim();
  @   if( !val || !checked ) val = branch;
  @   if( checked ) gebi('brname').select();
  @   cidbrid = document.getElementById('cbranch');
  @   if( cidbrid ) cidbrid.textContent = val;
  @ }
  @ function chgbn(val, branch){
  @   if( !val ) val = branch;
  @   gebi('newbr').checked = (val!=branch);
  @   cidbrid = document.getElementById('cbranch');