• Welcome to the Chevereto user community!

    Here users from all over the world gather around to learn the latest about Chevereto and contribute with ideas to improve the software.

    Please keep in mind:

    • 😌 This community is user driven. Be polite with other users.
    • 👉 Is required to purchase a Chevereto license to participate in this community (doesn't apply to Pre-sales).
    • 💸 Purchase a Pro Subscription to get access to active software support and faster ticket response times.

[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 :D
 
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