Home
Cartes
Forum
Commentaires
Sujets de tendance
Nouveaux thèmes
Feuilleter
Modérateurs
Aide
À propos de nous
LetsSingIt
Contact
Musée
Plan Du Site
utilisation
la base de données des paroles de chansons sur internet
fr
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
Bonjour à tous, bienvenue à LetsSingIt!
Vous n'êtes pas connecté. Connectez-vous pour bénéficier des privilèges supplémentaires qui accompagnent l'adhésion gratuite!
lire la suite
Connexion
enregistrer
Pisces
commentaires
tendance
nouveau
feuilleter
modérateurs
›
Forum
›
feuilleter
›
Artist
›
Pisces
Suivre
1
Partager
Ajouter un sujet
Chercher
0
LINDABRUNER
| 02-03-2023 23:29
Am I still the moderater for Pisces.
0
commentaires
invité
POP OUT
SAVE
économie ...
$form.$set(f,{a:'ajax_comment_manage',pop:'in',content_type:'forumtopic',parent_id:'666151',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(''); });
Lire la suite:
commentaires
sujets de tendance
nouveaux thèmes
feuilleter
jeux
discussion générale