]> git.openstreetmap.org Git - osqa.git/commitdiff
Fixes an error in the tag editor.
authorhernani <hernani@0cfe37f9-358a-4d5e-be75-b63607b5c754>
Sat, 18 Sep 2010 07:02:03 +0000 (07:02 +0000)
committerhernani <hernani@0cfe37f9-358a-4d5e-be75-b63607b5c754>
Sat, 18 Sep 2010 07:02:03 +0000 (07:02 +0000)
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@596 0cfe37f9-358a-4d5e-be75-b63607b5c754

forum/skins/default/templates/ask.html
forum/skins/default/templates/question_edit.html

index b027ce49bf7b8f042a4c26131331496fdcb1731d..3f74b44a0822aa0e8acb0fd3365e15ca6ba9a772 100644 (file)
                 */
 
                 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];
                 }
 
             });
index 12163bed8247b18d11fdd7b3aaf7c6c432874f13..f0c9e4dd00f808ea93cb2bdfd318bbfc19edf22d 100644 (file)
                     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];
                 }
                 
             });