From: hernani Date: Sat, 18 Sep 2010 07:02:03 +0000 (+0000) Subject: Fixes an error in the tag editor. X-Git-Tag: live~538 X-Git-Url: https://git.openstreetmap.org./osqa.git/commitdiff_plain/3401cb76521d238ddec0e5daed3f63d6e6dee34f?ds=sidebyside Fixes an error in the tag editor. git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@596 0cfe37f9-358a-4d5e-be75-b63607b5c754 --- 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]; } });