},
error: function(request, textStatus, errorThrown) {
$.log('ajax', url, this.target, 'error:', textStatus, errorThrown);
+ $(self.contentDiv).html("<p>Wystapił błąd podczas wczytywania panelu.");
}
});
}
$('#toolbar-button-commit').attr('disabled', 'disabled');
if(this.autosaveTimer) return;
- this.autosaveTimer = setTimeout( function() { self.autoSave(); }, 5000 );
+ this.autosaveTimer = setTimeout( function() { self.autoSave(); }, 300000 );
};
Editor.prototype.refreshPanels = function(goodPanel) {