Casa
Cartas
Forum
Comentários
Tópicos de tendências
Novos tópicos
Procurar
Moderadores
Socorro
Sobre nós
LetsSingIt
Contacto
Museu
Sitemap
uso
no banco de dados de letras da internet
pt
Choose your language
LetsSingIt comes to you in your own language! Choose your language below. Not all languages are fully translated. Help us translate the rest!
Help translate
0
Olá visitante, seja bem-vindo ao LetsSingIt!
Você não está logado. Faça login para usufruir de privilégios extras que vêm com uma associação gratuita!
leia mais
conecte-se
registrar
Vangelis
comentários
tendendo
novos
procurar
moderadores
›
Forum
›
procurar
›
Artist Moderators
›
Vangelis
Seguir
1
Compartilhar
Adicionar tópico
Procurar
1
roxcyn
| 01-04-2020 12:54
Vangelis
has had a lot of edits. Please research carefully when you're reviewing him in our queue. Thanks.
1
comentário
0
MRita
| 11-11-2020 18:38
ok. sorry
convidado
SAIR
SALVE
salvando ...
$form.$set(f,{a:'ajax_comment_manage',pop:'in',content_type:'forumtopic',parent_id:'627693',follow:0},{noaskonclose:1}); //-------------------------------------------------------------------------------------------------- // On save //-------------------------------------------------------------------------------------------------- $events.$addFunction('click',1545420973,true,function(){ //-------------------------------------------------------------------------------------------- // Find form element //-------------------------------------------------------------------------------------------- var f=arguments[0].$t.closest('form'); //-------------------------------------------------------------------------------------------- // Callback //-------------------------------------------------------------------------------------------- var $callback = function(f,$c,$json) { if ($json.hasOwnProperty('mode') && $json.mode == 'popin') { // Error occured - popin version f.parent().html($json.body); } else { var $formrow = $('#id_1545492900').closest('div[data-form]'); // Find the wrapper of the form (div that holds the form) //------------------------------------------------------------------------------------ // Remove lightbox for popout or reset popin form //------------------------------------------------------------------------------------ if ($json.pop == 'out') { lightbox_remove(); } else { $formrow.find('[data-b]').find('span').show().last().hide(); f.find('textarea[name=comment]').prop('disabled',false).val(''); f.find('input[name=vote]').val(''); f.find('.errors').remove(); // remove error box if present } //------------------------------------------------------------------------------------ // Insert on bottom //------------------------------------------------------------------------------------ if ($json.content_type == 'forumtopic') $('html, body') // html and body both needed for cross browser compatibility .animate({ scrollTop:$formrow.last().offset().top - 200 }, 500) .promise() // the promise-done deals with preventing a double call for browser that support both html and body .done(function(){ $formrow.last().before($json.comment).prev().rowslide({effect:'open'}); }); //------------------------------------------------------------------------------------ // Insert on top //------------------------------------------------------------------------------------ else $formrow.first().after($json.comment).next().rowslide({effect:'open'}); } return; }; //-------------------------------------------------------------------------------------------- // Parse request //-------------------------------------------------------------------------------------------- $http.$req({m:'POST',d:1,q:f.serialize(),b:$.proxy($callback,null,f)}); //-------------------------------------------------------------------------------------------- // "After-click" styling //-------------------------------------------------------------------------------------------- if (f.find('input[name=pop]').val() == 'in') { arguments[0].$t.parent().children().hide().last().show(); f.find('textarea[name=comment]').prop('disabled',true); // do after $http.$req because serialize ignores disabled fields } else { lightbox_remove({keepdim:1}); lightbox_prepare({}); } }); //-------------------------------------------------------------------------------------------------- // Detach function (pop-out button and poll vote button) - prepare for "detach" submit //-------------------------------------------------------------------------------------------------- $events.$addFunction('click',1519156756,true,function(){ var f = arguments[0].$t.closest('form'); f.find('input[name=reload]').val(1); f.find('input[name=pop]').val('out'); //if (arguments[0].$t.is('[data-vote]')) f.find('input[name=vote]').val(arguments[0].$t.attr('data-vote')); f.find('.errors').remove(); }); $events.$addFunction('click',1545858987,true,function(){ // Poll-vote button var f = $('#id_1545492900'); f.find('input[name=vote]').val(arguments[0].$t.attr('data-vote')); $('#id_1545858923').trigger('click'); }); //-------------------------------------------------------------------------------------------------- // Reset popin form //-------------------------------------------------------------------------------------------------- $events.$addFunction('click',1545413833,true,function(){ var f = arguments[0].$t.closest('form'); f.find('input[name=reload]').val(0); f.find('input[name=pop]').val('in'); f.find('input[name=vote]').val(''); f.find('textarea[name=comment]').val(''); });
Leia mais:
comentários
tópicos de tendências
novos tópicos
procurar
jogos
discussão geral