Skip to content

Instantly share code, notes, and snippets.

@olleolleolle
Created February 15, 2010 09:03
Show Gist options
  • Save olleolleolle/304498 to your computer and use it in GitHub Desktop.
Save olleolleolle/304498 to your computer and use it in GitHub Desktop.
adding the getImageAt interface method to the autocomplete results to shut errors up
Index: ide/src/extension/components/SeleniumIDEGenericAutoCompleteSearch.js
===================================================================
--- ide/src/extension/components/SeleniumIDEGenericAutoCompleteSearch.js (revision 8344)
+++ ide/src/extension/components/SeleniumIDEGenericAutoCompleteSearch.js (working copy)
@@ -77,6 +77,13 @@
getValueAt: function(index) {
return this.result[index][0];
},
+ /**
+ * Get the image for the result at the given index
+ * The return value is expected to be an URI to the image to display
+ */
+ getImageAt : function (index) {
+ return '';
+ },
removeValueAt: function(rowIndex, removeFromDb) {
},
QueryInterface: function (uuid) {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment