Menu

#3074 (ok 3.3.6) LockFromUpdate checkbox not checked by default

fixed
Interface (555)
1
2013-06-11
2010-08-05
Anonymous
No

the "LockFromUpdate" checkbox in the sql query edit popup window is not checked by default.

line 365 of /libraries/sql_query_form.lib.php reads:

document.writeln(' <input type="checkbox" name="LockFromUpdate" value="1" id="checkbox_lock" /> <label for="checkbox_lock"><?php echo $GLOBALS['strQueryWindowLock']; ?></label> ');

it should read:

document.writeln(' <input type="checkbox" name="LockFromUpdate" checked="checked" id="checkbox_lock" /> <label for="checkbox_lock"><?php echo $GLOBALS['strQueryWindowLock']; ?></label> ');

(note: attribute change from 'value="1"' to 'checked="checked"', per w3c:

http://www.w3.org/TR/html401/interact/forms.html#h-17.4\)

this makes the "LockFromUpdate" checkbox in the sql query edit popup checked by default, as i believe the erroneous attribute was meant to do.

http://www.w3.org/TR/html401/interact/forms.html#h-17.4

this makes the "LockFromUpdate" checkbox in the sql query edit popup checked by default, as i believe the erroneous attribute was meant to do.

Discussion

  • Marc Delisle

    Marc Delisle - 2010-08-07
    • assigned_to: nobody --> lem9
     
  • Marc Delisle

    Marc Delisle - 2010-08-07
    • priority: 5 --> 1
    • summary: LockFromUpdate checkbox not checked by default --> (ok 3.3.6) LockFromUpdate checkbox not checked by default
    • status: open --> open-fixed
     
  • Marc Delisle

    Marc Delisle - 2010-08-07

    This bug was fixed in repository and will be part of a future release; thanks for reporting.

     
  • Marc Delisle

    Marc Delisle - 2010-08-28
    • status: open-fixed --> closed-fixed
     
  • Michal Čihař

    Michal Čihař - 2013-06-11
    • Status: closed-fixed --> fixed
     
MongoDB Logo MongoDB