Histórico da Página
...
Na linha 1391 da versão 1.5.0 copiar o bloco abaixo e substituir na SUBSTITUIR na versão 1.4.x:
| Bloco de código | ||
|---|---|---|
| ||
formatLink: function(text) {
var html = Mustache.render(this.templates['social-timeline-link-template']);
var htmlResult = text.replace(/((((https?|ftp|file):\/\/)|(www))[-A-Z0-9+&@#\/%?=~_|!:,.;]*[-A-Z0-9+&@#\/%=~_|])/ig, html);
htmlResult = htmlResult.replaceAll('href="www','href="http://www');
return htmlResult;
}, |
Na linha 1592 da versão 1.5.0 copiar o bloco abaixo e substituir na SUBSTITUIR na versão 1.4.x:
| Bloco de código | ||
|---|---|---|
| ||
textComplaintValidate: function(text) {
var listWords = text.match(/(\w+){3,}/g) || [];
if(text === '') {
socialGlobal.alert(this.i18n.messages['denounce.reason.empty']);
return true;
}
if(listWords.length < 4) {
socialGlobal.alert(this.i18n.messages['denounce.content.invalid']);
return true;
}
return false;
} |
...
Import HTML Content
Visão Geral
Conteúdo das Ferramentas