]> git.babelmonkeys.de Git - socialXMPP.git/commitdiff
Attribute named ver confuses Opera, quote it
authorFlorian Zeitz <florob@babelmonkeys.de>
Sun, 22 Mar 2009 23:46:46 +0000 (00:46 +0100)
committerFlorian Zeitz <florob@babelmonkeys.de>
Sun, 22 Mar 2009 23:46:46 +0000 (00:46 +0100)
scripts/basic.js

index 086729bfdaef66d4d60e754c7562298d197f66cb..9a1584e5cacc2e67ef109c4a10601fb51efb023a 100644 (file)
@@ -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());