• Welcome to the Chevereto User Community!

    Here, users from all over the world come together to learn, share, and collaborate on everything related to Chevereto. It's a place to exchange ideas, ask questions, and help improve the software.

    Please keep in mind:

    • This community is user-driven. Always be polite and respectful to others.
    • Support development by purchasing a Chevereto license, which also gives you priority support.
    • Go further by joining the Community Subscription for even faster response times and to help sustain this space

[TWEAK < 2.0.9] Auto Select Link in viewer's inputs (already done)

rain

Chevereto Member
One little tweak that might be useful to some.

When clicking on the link, it will automaticaly select all the link. You'll only have to copy ! (Auto copy is heavier, as browsers don't work the same way)

Demo : http://pix2.picool.fr/?v=VABcn.jpg

Tested on 2.0.8.

It will be added to 2.0.9

How to :

Open content/system/js/peafowl.php

FIND (line 398) :

Code:
<?php unset($_SESSION['ImagesUp']); ?>

ADD, AFTER :

Code:
/*** Auto select link ***/
$(".image-tools-section input").click(function() {
    this.focus(); this.select();
});

$(".image-tools-section input, #multi-codes textarea").click(function() {
    this.focus(); this.select();
});
 
You can do the same adding this on the JS:
Code:
$(".image-tools-section input").click(function() {
    this.focus(); this.select();
});

just 3 lines 😉
Is now working the demo, btw I will add this on 2.0.9
 
Rodolfo said:
You can do the same adding this on the JS:
Code:
$(".image-tools-section input").click(function() {
    this.focus(); this.select();
});

just 3 lines 😉
Is now working the demo, btw I will add this on 2.0.9

Great 😀
 
Rodolfo said:
You can do the same adding this on the JS:
Code:
$(".image-tools-section input").click(function() {
    this.focus(); this.select();
});

just 3 lines 😉
Is now working the demo, btw I will add this on 2.0.9

Don't forget to add it to multi-upload 🙂
 
tuwebfacil said:
Don't forget to add it to multi-upload 🙂

Easy...
Code:
$(".image-tools-section input, #multi-codes textarea").click(function() {
    this.focus(); this.select();
});
 
Back
Top