Histórico da Página
...
| Bloco de código | ||
|---|---|---|
| ||
// Validação para verificar se o flash está instalado para a renderização de vídeos.
try {
this.hasFlash = (typeof navigator.plugins == 'undefined' || navigator.plugins.length == 0) ? !!(new ActiveXObject('ShockwaveFlash.ShockwaveFlash')) : navigator.plugins['Shockwave Flash'];
} catch (ex) {
this.hasFlash = false;
}
// Tratamento provisório para mudar o title da página
// quando a visualização for "singlepost".
if(this.style === 'singlepost') {
$('head').find('title').text(this.i18n.titles['publication']);
} |
Copiar as linhas xx até xx a linha 145 da versão 1.5.0 e colar substituir na versão 1.4.x:
| Bloco de código | ||
|---|---|---|
| ||
|
if(this.continueScroll && !this.isEditMode && this.style !== 'singlepost') { |
Na linha 229 Copiar as linhas xx até xx da versão 1.5.0 copiar o bloco abaixo e colar adicionar na versão 1.4.x:
| Bloco de código | ||
|---|---|---|
| ||
// foi adicionado um tratamento para quando o post estiver denunciado
if(data && data.content && data.content.numberDenouncements == 0) {
dataPost.push(data.content);
that.showPosts(dataPost, isNew);
}
else {
that.showListPostsMessage();
}
if(data && data.content && data.content.numberDenouncements != 0){
that.showFeedbackMessage(that.i18n.messages['post.denounced'], 'warning');
} |
Copiar as linhas 275 e 276 da versão 1.5.0 e colar na versão 1.4.x:
| Bloco de código | ||
|---|---|---|
| ||
posts[i].shared = 'fs-display-inline-block' == posts[i].existsNumberShares;
posts[i].hasFlash = this.hasFlash ? true : false; |
Na linha 291 Copiar as linhas xx até xx da versão 1.5.0 copiar o bloco abaixo e colar na versão 1.4.x:adicionar na versão 1.4.x:
| Bloco de código | ||
|---|---|---|
| ||
if(isNew && this.loggedUserAlias === posts[i].user.alias) {
posts[i].watching = true;
posts[i].numberWatchers = 1;
posts[i].existsNumberWatchers = 'fs-display-inline-block';
} | ||
| Bloco de código | ||
| ||
|
Copiar as linhas xx até xx 470 e 471 da versão 1.5.0 e colar na versão 1.4.x:Copiar as linhas xx até xx da versão 1.5.0 e colar na versão 1.4.x:
| Bloco de código | ||
|---|---|---|
| ||
var that = this,
videos = document.querySelectorAll('.video-js'), |
Copiar as linhas xx até xx da versão 1.5.0 e colar na versão 1.4.x:
| Bloco de código | ||
|---|---|---|
| ||
|
Copiar as linhas xx até xx da versão 1.5.0 e colar na versão 1.4.x:
| Bloco de código | ||
|---|---|---|
| ||
|
Copiar as linhas xx até xx da versão 1.5.0 e colar na versão 1.4.x:
| Bloco de código | ||
|---|---|---|
| ||
|
Copiar as linhas xx até xx da versão 1.5.0 e colar na versão 1.4.x:
| Bloco de código | ||
|---|---|---|
| ||
|
socialtimelineedit.js
Arquivo na 1.4.x
...