Skip to content
Browse files

workaround for register to work with x dataforms

  • Loading branch information...
1 parent 32ecf04 commit cdf45f79b51c10eabff7080d484f9347513136eb @Gordin Gordin committed Jul 27, 2012
Showing with 3 additions and 0 deletions.
  1. +3 −0 register/strophe.register.js
View
3 register/strophe.register.js
@@ -251,6 +251,9 @@ Strophe.addConnectionPlugin('register', {
// it provides info about given data fields in a textual way.
this.instructions = Strophe.getText(field);
continue;
+ } else if (field.tagName.toLowerCase() === 'x') {
+ // ignore x for now
+ continue;
}
this.fields[field.tagName.toLowerCase()] = Strophe.getText(field);
}

0 comments on commit cdf45f7

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