diff options
author | Bart Visscher <bartv@thisnet.nl> | 2012-09-05 22:17:33 +0200 |
---|---|---|
committer | Bart Visscher <bartv@thisnet.nl> | 2012-09-05 22:26:09 +0200 |
commit | 9329af921d6d9bf7861fe9f996562f17beecf6a2 (patch) | |
tree | 53ae2f792840e252e6e9b811d9a3a3cb04530db3 /core/js/listview.js | |
parent | 9f1c76beef44fb841e6a4137c409ccb941c9236b (diff) | |
download | nextcloud-server-9329af921d6d9bf7861fe9f996562f17beecf6a2.tar.gz nextcloud-server-9329af921d6d9bf7861fe9f996562f17beecf6a2.zip |
Add missing ; to js code
Diffstat (limited to 'core/js/listview.js')
-rw-r--r-- | core/js/listview.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/core/js/listview.js b/core/js/listview.js index e3e5ebdab8f..3a713a6222c 100644 --- a/core/js/listview.js +++ b/core/js/listview.js @@ -11,15 +11,15 @@ ListView.generateTable=function(collumns){ html+='<thead>'; html+='</head>'; html+='<tbody>'; - html+'<tr class="template">' + html+'<tr class="template">'; $.each(collumns,function(index,collumn){ html+='<th class="'+collumn.toLower()+'"</th>'; }); - html+'</tr>' + html+'</tr>'; html+='</tbody>'; html='</table>'; return $(html); -} +}; ListView.prototype={ rows:{}, @@ -49,7 +49,7 @@ ListView.prototype={ var element=$(html); element.append($('<img src="'+element.icon+'"/>')); element.click(element.callback); - tr.children('td.'+collumn).append(element) + tr.children('td.'+collumn).append(element); }); }); if(this.deleteCallback){ @@ -68,4 +68,4 @@ ListView.prototype={ empty:function(){ this.element.children('tr:not(.template)').remove(); } -}
\ No newline at end of file +}; |