Menu

#93 Clear button

fixed
None
5
2013-06-11
2001-11-21
Tomas Polak
No

Hello,
please add Clear (Reset) button bellow each field,
where
is possible to edit SQL queries. This will be very
helpfull
for Unix users, which have selected query in other
window
and will paste it into this not-empty field by middle
mouse
button.
Regards,
Tomas Polak

Discussion

  • Loïc Chapeaux

    Loïc Chapeaux - 2001-12-15
    • assigned_to: nobody --> loic1
    • status: open --> closed
     
  • Loïc Chapeaux

    Loïc Chapeaux - 2001-12-15

    Logged In: YES
    user_id=144058

    Hi!

    I've added a little bit of javascript in the dev. version
    you can get from the cvs tree and now, as soon as you put
    focus on these form fields their content is selected.
    Pasting with your mouse will then replace the existing
    content.

    Please give it a try and reopen this feature request if
    these enhancements do not fit your wants.

    Loc

     
  • Tomas Polak

    Tomas Polak - 2001-12-18
    • status: closed --> open
     
  • Tomas Polak

    Tomas Polak - 2001-12-18

    Logged In: YES
    user_id=344045

    Hello,
    due to firewall access rules I'm unable to obtain files from
    CVS repository.
    I see four possibilities:
    1) send me e-mail attachment to tom.polak@post.sk
    2) wait for official package delivery
    3) attach files to this feature request
    4) give me list of impacted flies and I will download it
    manually via web CVS access
    Looking forward to your decision.
    Proposed solution sounds good.
    Reopening this request to give you flag, that there is this
    comment.
    Best regards,
    Tomas

     
  • Loïc Chapeaux

    Loïc Chapeaux - 2001-12-18

    Logged In: YES
    user_id=144058

    Hi!

    Please give a try to the last CVS snapshot you may find at
    phpmyadmin.sourceforge.net/cvs/

    Loc

     
  • Marc Delisle

    Marc Delisle - 2002-01-06

    Logged In: YES
    user_id=210714

    Loc,

    I think that this one can be closed? He said "proposed solution sound good".
    and I also like it :)

     
  • Loïc Chapeaux

    Loïc Chapeaux - 2002-01-06
    • status: open --> closed
     
  • vip

    vip - 2009-10-30

    I'm using 3.2.3-rc1, and such button would really help pasting queries with middle click. E.g:

    --- /tmp/sql_query_form.lib.php 2009-10-24 15:02:28.000000000 +0200
    +++ sql_query_form.lib.php 2009-10-30 13:50:07.429704493 +0100
    @@ -381,6 +381,9 @@
    .'</label>' . "\n";

    echo '</div>' . "\n";
    + echo '<a href="#"'
    + .'onclick="document.getElementById(\'sqlquery\').value=\'\';return'
    + .'false;">Clear</a>&nbsp;';
    echo '<input type="submit" name="SQL" value="' . $GLOBALS['strGo'] . '" />'
    ."\n";
    echo '<div class="clearfloat"></div>' . "\n";

     
  • Michal Čihař

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