mini.js?6:8 UppodEventDispatch: [js_player: UppodAudio v.0.7] Arguments[2]
mini.js?6:8 uppod emmitEvent: LF_UPPOD_UppodAudio v.0.7 js_player UppodAudio v.0.7
mini.js?6:8 UppodEventDispatch: [js_player: init] Arguments[2]
mini.js?6:8 uppod emmitEvent: LF_UPPOD_init js_player init
2profile.js:2286 Uncaught TypeError: Cannot read property 'split' of undefined
код в файле profile.js
CheckLinkText: function(val, f){
if(!$('#attach_lnk_stared').val()){
matches = val.split('http://');
url = matches[1].split('\r');
if(!url[1]) url = matches[1].split(' ');
if(val == 'http://'+url[0] && f) fast_check = 1;
if(url[1] || fast_check){
rUrl = url[0].split(' ');
$('#attach_block_lnk').show();
$('#teck_link_attach').val(rUrl[0]);
txurl = rUrl[0].replace('http://', '');
spurl = txurl.split('/');
$('#attatch_link_url').text(spurl[0]).attr('href', '/away.php?url=http://'+rUrl[0]);
$('#attach_lnk_stared').val('started');
$.post('/index.php?go=wall&act=parse_link', {lnk: rUrl[0]}, function(d){
$('#loading_att_lnk').hide();
rndval = new Date().getTime();
row = d.split('<f>');
if(d != 1){
$('#attatch_link_title').html(row[0]);
$('#attatch_link_descr').html(row[1]);
}
if(row[2] && d != 1) $('#attatch_link_img').attr('src', row[2]).show();
if(!row[1]) row[1] = '0';
if(d != 1){
$('#vaLattach_files').val($('#vaLattach_files').val()+'link|http://'+rUrl[0]+'|'+row[0]+'|'+row[1]+'|'+row[2]+'||');
$('#urlParseImgs').text(row[3]);
}
});
}
}
},
UrlNextImg: function(){
neUrl = $('#urlParseImgs').text().split('|');
if(!neUrl[url_next_id]) url_next_id = 0;
$('#vaLattach_files').val($('#vaLattach_files').val().replace($('#attatch_link_img').attr('src'), neUrl[url_next_id]));
$('#attatch_link_img').attr('src', neUrl[url_next_id]);
url_next_id++;
},
RemoveAttachLnk: function(){
delstr = 'link|http://'+$('#teck_link_attach').val()+'|'+$('#attatch_link_title').html()+'|'+$('#attatch_link_descr').html()+'|'+$('#attatch_link_img').attr('src')+'||';
$('#vaLattach_files').val($('#vaLattach_files').val().replace(delstr, ''));
$('#attach_lnk_stared').val('');
$('#attach_block_lnk').hide();
$('.js_titleRemove').remove();
$('#attatch_link_title, #attatch_link_descr').html('');
$('#attatch_link_img').attr('src', '').hide();
$('#loading_att_lnk').show();
$('#attatch_link_url').text('').attr('href', '');
$('#teck_link_attach').val('');
$('#urlParseImgs').text('');
},
FullText: function(rid){
$('#hide_wall_rec'+rid).css('max-height', 'none');
$('#hide_wall_rec_lnk'+rid).hide();
},
Answer: function(r, i, n, v){
if(!v)
vlid = 'fast_text_'+r;
else
vlid = v;
nm = n.split(' ');
x = $('#'+vlid).val().length;
if(x <= 0 || prevAnsweName == $('#'+vlid).val()){
if(!v)
wall.fast_open_textarea(r, 2);
$('#'+vlid).val(nm[0]+', ');
}
$('#answer_comm_id'+r).val(i);
$('#answer_comm_for_'+r).text(n);
prevAnsweName = nm[0]+', ';
}
}