Permalink
Browse files

Fix exception thrown on startup

  • Loading branch information...
prefiks committed Mar 13, 2010
1 parent 4b6cf63 commit 8b512f56de72f69eadbdea4d93654159d800eafe
Showing with 3 additions and 1 deletion.
  1. +3 −1 chrome/oneteam/content/JavaScript/views/roster.js
@@ -704,7 +704,9 @@ function PresenceProfileView(model, parentView)
this.model = model;
this.parentView = parentView;
- this.node = this.doc.createElementNS(XULNS, "menuitem");
+ var doc = this.parentView.doc;
+
+ this.node = doc.createElementNS(XULNS, "menuitem");
this.node.setAttribute("class", "setPresence-profile-view");
this.node.setAttribute("label", model.name);

0 comments on commit 8b512f5

Please sign in to comment.