diff options
Diffstat (limited to 'core/js/listview.js')
-rw-r--r-- | core/js/listview.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/core/js/listview.js b/core/js/listview.js index 18d0bdeaf7c..239792d6346 100644 --- a/core/js/listview.js +++ b/core/js/listview.js @@ -46,7 +46,7 @@ ListView.prototype={ $.each(this.hoverElement,function(index,collumn){ $.each(collumn,function(index,element){ var html='<a href="#" title="'+element.title+'" class="hoverElement"/>'; - var element=$(html); + element=$(html); element.append($('<img src="'+element.icon+'"/>')); element.click(element.callback); tr.children('td.'+collumn).append(element); @@ -59,9 +59,9 @@ ListView.prototype={ hoverHandelerOut:function(tr){ tr.find('*.hoverElement').remove(); }, - addHoverElement:function(collumn,icon,title,callback){ - if(!this.hoverElements[collumn]){ - this.hoverElements[collumn]=[]; + addHoverElement:function(column,icon,title,callback){ + if(!this.hoverElements[column]){ + this.hoverElements[column]=[]; } this.hoverElements[row].push({icon:icon,callback:callback,title:title}); }, |