Filter by correct element.
[Sone.git] / src / main / resources / static / javascript / sone.js
index eb8fc74..c339f65 100644 (file)
@@ -277,7 +277,7 @@ function getFormPassword() {
  */
 function getSone(soneId) {
        return $("#sone .sone").filter(function(index) {
-               return $(".id").text() == soneId;
+               return $(".id", this).text() == soneId;
        });
 }