Skip to content
Browse files

submittttttttttttttttttttttttttttttttt

  • Loading branch information...
1 parent 2a93c38 commit 42477aa27299c20376638e2040c85a5762769fa5 Tito Bouzout committed Sep 26, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 worldlinkerator.js
View
4 worldlinkerator.js
@@ -159,7 +159,7 @@ ODP = {
for(var id in categories)
{
$('.content').append(
- '<form class="'+encodeURIComponent(categories[id])+'" action="http://editors.dmoz.org/editors/editcat/editrelation?cat='+encodeURIComponent(categories[id])+'&type=altlang" method="post" target="_blank">'+
+ '<form name="form-'+encodeURIComponent(categories[id])+'" action="http://editors.dmoz.org/editors/editcat/editrelation?cat='+encodeURIComponent(categories[id])+'&type=altlang" method="post" target="_blank">'+
'<input type="hidden" name="cat" value="'+(categories[id])+'" />'+
'<input type="hidden" name="type" value="altlang" />'+
'<input type="hidden" name="altlangs" value="'+(this.toWorldLinkerate.categoriesAltlangs[categories[id]].join("\n"))+'" />'+
@@ -170,7 +170,7 @@ ODP = {
}
for(var id in categories)
{
- $('form.'+encodeURIComponent(categories[id])).submit();
+ $('form-'+encodeURIComponent(categories[id])).submit();
}
},
sortLocale : function(a, b)

0 comments on commit 42477aa

Please sign in to comment.
Something went wrong with that request. Please try again.