Author: lindner
Date: Mon Sep 12 20:31:48 2011
New Revision: 1169910
URL: http://svn.apache.org/viewvc?rev=1169910&view=rev
Log:
SHINDIG-1621 | Patch from Igor Belakovskiy | Passing incorrect index value
inside the opensearch feature
Modified:
shindig/trunk/features/src/main/javascript/features/opensearch/opensearch.js
Modified:
shindig/trunk/features/src/main/javascript/features/opensearch/opensearch.js
URL:
http://svn.apache.org/viewvc/shindig/trunk/features/src/main/javascript/features/opensearch/opensearch.js?rev=1169910&r1=1169909&r2=1169910&view=diff
==============================================================================
---
shindig/trunk/features/src/main/javascript/features/opensearch/opensearch.js
(original)
+++
shindig/trunk/features/src/main/javascript/features/opensearch/opensearch.js
Mon Sep 12 20:31:48 2011
@@ -118,7 +118,7 @@
// convert string to dom object
var domDesc = createDom(desc);
// convert dom object to json
- extractDescriptions(domDesc, item);
+ extractDescriptions(domDesc, response[item].url);
// only the url to the full description is provided.
} else {
var openSearchUrl = params['opensearch-url'];
@@ -127,7 +127,7 @@
if (response.errors.length == 0) {
var domData = response.data;
if (domData != null) {
- extractDescriptions(domData, item);
+ extractDescriptions(domData, response[item].url);
}
}
}