diff --git a/web-screenshots/app.js b/web-screenshots/app.js index 98e175b..7c59f59 100644 --- a/web-screenshots/app.js +++ b/web-screenshots/app.js @@ -40,15 +40,18 @@ Ext.onReady(function(){ title: 'Web screenshot netdb.io (0 items selected)', items: Ext.create('Ext.view.View', { store: store, - tpl: [ + tpl: new Ext.XTemplate( '', '
', - '
', + '
', '{ip:htmlEncode} - {product:htmlEncode}', '
', '
', - '
' - ], + '
', { + getKey: function(){ + return window.key; + } + }), multiSelect: true, trackOver: true, overItemCls: 'x-item-over',