From ad11be657e6a2f2d88c7677982b7699a43f3fd02 Mon Sep 17 00:00:00 2001 From: Baris Usakli Date: Mon, 24 Jun 2013 12:08:21 -0400 Subject: [PATCH 1/2] added turkish characters to utils.slugify --- public/src/utils.js | 4 ++-- src/user.js | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/public/src/utils.js b/public/src/utils.js index 54988afe60..359b05f469 100644 --- a/public/src/utils.js +++ b/public/src/utils.js @@ -70,8 +70,8 @@ str = str.toLowerCase(); // remove accents, swap ñ for n, etc - var from = "àáäâèéëêìíïîòóöôùúüûñç·/_,:;"; - var to = "aaaaeeeeiiiioooouuuunc------"; + var from = "àáäâèéëêìíïîıòóöôùúüûñçş·/_,:;"; + var to = "aaaaeeeeiiiiioooouuuuncs------"; for (var i=0, l=from.length ; i Date: Mon, 24 Jun 2013 12:54:14 -0400 Subject: [PATCH 2/2] fixes issue #16 (ajaxify.go is now called) and reintroduces the fadein animation for new topic post --- public/src/forum/category.js | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/public/src/forum/category.js b/public/src/forum/category.js index 4388198e5b..99c4d300e0 100644 --- a/public/src/forum/category.js +++ b/public/src/forum/category.js @@ -27,20 +27,21 @@ jQuery('#category-no-topics').remove(); topic.innerHTML = html; + topic = topic.querySelector('a'); + if (numTopics > 0) { for(x=0;x').appendTo("#topics-container").hide().append(html).fadeIn('slow'); - // set_up_posts(uniqueid); + ajaxify.enable(); });