Pierwsza strona
Wykresy
Forum
Komentarze
Popularne tematy
Nowe tematy
Przeglądać
Moderatorzy
Wsparcie
O nas
LetsSingIt
Skontaktować
Muzeum
Mapa Witryny
posługiwać się
internetowa baza tekstów piosenek
pl
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
2
Witaj gościu, witaj w LetsSingIt!
Nie jesteś zalogowany. Zaloguj się, aby cieszyć się dodatkowymi przywilejami wynikającymi z bezpłatnego członkostwa!
czytaj więcej
zaloguj sie
zarejestrować
Happy Birthday
komentarze
trendy
nowy
przeglądać
moderatorzy
›
Forum
›
przeglądać
›
Holidays / Celebrations
›
Happy Birthday
Podążać
1
Dzielić
Dodaj temat
Szukaj
0
BRQKNAU
| 05-06-2021 00:26
Happy, happy birthday, to whoever's birthday is today
0
komentarze
gość
WYSKOCZYĆ
ZAPISAĆ
oszczędność ...
$form.$set(f,{a:'ajax_comment_manage',pop:'in',content_type:'forumtopic',parent_id:'652017',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(''); });
Czytaj więcej:
komentarze
popularne tematy
nowe tematy
przeglądać
gry
ogólna dyskusja