From ca7cb2b585d9ea7914a669b6ba79aee7350611f7 Mon Sep 17 00:00:00 2001 From: Florian Zeitz Date: Mon, 23 Mar 2009 00:46:46 +0100 Subject: [PATCH] Attribute named ver confuses Opera, quote it --- scripts/basic.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()); -- 2.39.5