* The date and time of the last update (formatted for display)
*/
function updateSoneStatus(soneId, name, status, modified, locked, lastUpdated, lastUpdatedText) {
- var updateSone = sone.find(".sone." + filterSoneId(soneId));
+ var updateSone = sone.find(".sone." + filterSoneId(soneId));
updateSone.toggleClass("unknown", status == "unknown").
toggleClass("idle", status == "idle").
toggleClass("inserting", status == "inserting").
* @returns The ID of the currently shown Sones
*/
function getShownSoneIds() {
- var soneIds = new Array();
+ var soneIds = [];
sone.find("#known-sones .sone .id").each(function() {
soneIds.push($(this).text());
});
/* Ajaxifies all posts. */
/* calling getTranslation here will cache the necessary values. */
- getTranslation("WebInterface.Confirmation.DeletePostButton", function(text) {
- getTranslation("WebInterface.Confirmation.DeleteReplyButton", function(text) {
- getTranslation("WebInterface.DefaultText.Reply", function(text) {
- getTranslation("WebInterface.Button.Comment", function(text) {
- sone.find(".post").each(function() {
+ getTranslation("WebInterface.Confirmation.DeletePostButton", function() {
+ getTranslation("WebInterface.Confirmation.DeleteReplyButton", function() {
+ getTranslation("WebInterface.DefaultText.Reply", function() {
+ getTranslation("WebInterface.Button.Comment", function () {
+ sone.find(".post").each(function() {
ajaxifyPost(this);
});
});