Histórico da Página
...
Bloco de código | ||||
---|---|---|---|---|
| ||||
var preferences = {
newsSource: $("#formNewsSource_" + this.instanceId).val(),
url: $("#feedUrl_" + this.instanceId).val(),
numberOfArticles: $("#numberOfArticles_" + this.instanceId).val()
};
WCMSpaceAPI.PageService.UPDATEPREFERENCES(
{
async: true,
success: function (data) {
FLUIGC.toast({title: data.message, message: '', type: 'success'});
},
fail: function (xhr, message, errorData) {
FLUIGC.toast({
title: '${i18n.getTranslation("kitintranet.news.preferences.error")}',
message: errorData.message,
type: 'warning'
});
}
}, this.instanceId, preferences
); |
...
Visão Geral
Import HTML Content
Conteúdo das Ferramentas
Tarefas