From: Florian Zeitz Date: Sun, 22 Mar 2009 23:46:46 +0000 (+0100) Subject: Attribute named ver confuses Opera, quote it X-Git-Url: https://cgit.babelmonkeys.de/?a=commitdiff_plain;h=ca7cb2b585d9ea7914a669b6ba79aee7350611f7;p=socialXMPP.git Attribute named ver confuses Opera, quote it --- diff --git a/scripts/basic.js b/scripts/basic.js index 086729b..9a1584e 100644 --- a/scripts/basic.js +++ b/scripts/basic.js @@ -123,7 +123,7 @@ function _cbDisco(e) { var query = response.c('query', {xmlns: Strophe.NS.DISCO_INFO}) query.c('identity', {category: 'client', type: 'web', name: appName}).up(); for (var i = 0; i < features.length; i++) { - query.c('feature', {var: features[i]}).up(); + query.c('feature', {'var': features[i]}).up(); } connection.send(response.tree());