Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

241
Visualizações
Links are not working in Sortable container (in Android )

In the image below is my sortable container and individual image can be dragged and dropped to sort. But the action links(icons) in the box are not working on the android browser because of the Js. When I remove sortable JS the links work fine. How can I make both of them work together?

enter image description here

Sortable Js

$("#sortable").sortable({
            cursor: "move",
            start: function (event, ui) {
                ui.item.startPos = ui.item.index();
            },
            stop: function (event, ui) {
                var id = ui.item.attr("id");
                var PropID = $("#PropID").html();
                var obj = {
                    PropID: PropID,
                    ID: id,
                    Pos1: ui.item.startPos ? ui.item.startPos : 0,
                    Pos2: ui.item.index() ? ui.item.index() : 0
                }
                try {
                    $.ajax({
                        type: "POST",
                        url: "/members/pm-add-photos.aspx/MovePhoto",
                        data: JSON.stringify(obj),
                        contentType: "application/json; charset=utf-8",
                        dataType: "json",
                        success: function (msg) {
                            var result = msg.d;
                            if (result.toLowerCase().indexOf('error') > -1) {
                                triggertoast("", "We're sorry, there seems to have been an error.", "error");
                            }
                        },
                        error: function (response) {
                            console.log(response);
                        },
                    });

                }
                catch (err) {
                    triggertoast("", "We're sorry, there seems to have been an error.", "error");
                }
            }
        });
        $("#sortable").disableSelection();
about 4 years ago · Juan Pablo Isaza
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda