From 3401cb76521d238ddec0e5daed3f63d6e6dee34f Mon Sep 17 00:00:00 2001 From: hernani Date: Sat, 18 Sep 2010 07:02:03 +0000 Subject: [PATCH] Fixes an error in the tag editor. git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@596 0cfe37f9-358a-4d5e-be75-b63607b5c754 --- forum/skins/default/templates/ask.html | 4 ++-- forum/skins/default/templates/question_edit.html | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/forum/skins/default/templates/ask.html b/forum/skins/default/templates/ask.html index b027ce4..3f74b44 100644 --- a/forum/skins/default/templates/ask.html +++ b/forum/skins/default/templates/ask.html @@ -50,11 +50,11 @@ */ formatItem: function(row, i, max, value) { - return row[1].split(".")[0] + " (" + row[1].split(".")[1] + ")"; + return row[1] + " (" + row[2] + ")"; }, formatResult: function(row, i, max, value){ - return row[0]; + return row[1]; } }); diff --git a/forum/skins/default/templates/question_edit.html b/forum/skins/default/templates/question_edit.html index 12163be..f0c9e4d 100644 --- a/forum/skins/default/templates/question_edit.html +++ b/forum/skins/default/templates/question_edit.html @@ -41,11 +41,11 @@ return row.n; }*/ formatItem: function(row, i, max, value) { - return row[1].split(".")[0] + " (" + row[1].split(".")[1] + ")"; + return row[1] + " (" + row[2] + ")"; }, formatResult: function(row, i, max, value){ - return row[0]; + return row[1]; } }); -- 2.39.5