-
-
Save beatrizuezu/06fe37e72a35e1e3f6b7e0aad5164124 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Para quem tem que deletar muita msg das dead_queue, | |
#e tem que selecionar uma a uma quais msg deseja excluir. | |
#Seus problemas acabaram! abra a fila clique em visualizar e buscar e no console cole isso: | |
function find_and_delete(to_find){ | |
$("div[style='overflow:hidden;white-space:nowrap;']").each(function( index ) { | |
var text_to_validate = $(this).text() | |
var n = text_to_validate.search(to_find); | |
if (n > 0){ | |
var tr = $(this).closest('tr')[0] | |
$(tr).find('input[type=checkbox]').each(function(){ | |
$(this).click() | |
}) | |
} | |
}) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment