• 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.

Disable Right-Click feature in Admin Panel?

Status
Not open for further replies.

dotch

Chevereto Member
Can I dissable the right-click feature in the Admin Panel?

It's not particularly useful and it intervenes with my Firefox right-click menu and plugins. I can't use some plugins at all...

Anyone?
 
Naah, I can't get used to it. I kinda get a little nervous when a script intervenes with my pc/browsers features. Plus I can't use the panel on my Android Touch Screen Mobile (don't know how).

Cheers!
 
Open admin/content/system/js/admin.js and do this edits:

1. Replace this:
Code:
    $("html").bind("click keyup", function(event) {
        if($(shade).exists() && event.keyCode==27) $(shade).trigger("click");
        $(select_label+"."+active_class, $(filter)).trigger("click");
        $(context_menu).remove();
    }).contextmenu(function(event) {
        $(context_menu).remove();
        if(!$(event.target).is("input")) event.preventDefault();
    });

1.1 With this:
Code:
    $("html").bind("click keyup", function(event) {
        if($(shade).exists() && event.keyCode==27) $(shade).trigger("click");
        $(select_label+"."+active_class, $(filter)).trigger("click");
        $(context_menu).remove();
    })


2. Then replace this:
Code:
    $(list_items)
        .live("contextmenu", function(event) {

2.1 With this:
Code:
    $("#idontwanttherightclick")
        .live("contextmenu", function(event) {
 
Status
Not open for further replies.
Back
Top