From 9329af921d6d9bf7861fe9f996562f17beecf6a2 Mon Sep 17 00:00:00 2001 From: Bart Visscher Date: Wed, 5 Sep 2012 22:17:33 +0200 Subject: Add missing ; to js code --- core/js/config.js | 2 +- core/js/js.js | 2 +- core/js/listview.js | 10 +++++----- core/js/setup.js | 4 ++-- core/js/share.js | 2 +- 5 files changed, 10 insertions(+), 10 deletions(-) (limited to 'core') diff --git a/core/js/config.js b/core/js/config.js index 11168f1c483..f7a29276f7d 100644 --- a/core/js/config.js +++ b/core/js/config.js @@ -51,5 +51,5 @@ OC.AppConfig={ deleteApp:function(app){ OC.AppConfig.postCall('deleteApp',{app:app}); }, -} +}; //TODO OC.Preferences diff --git a/core/js/js.js b/core/js/js.js index 8b9ecd38dc2..1bd650bb6b8 100644 --- a/core/js/js.js +++ b/core/js/js.js @@ -208,7 +208,7 @@ OC={ popup.prepend('

'+t('core', 'Settings')+'

').show(); popup.find('.close').bind('click', function() { popup.remove(); - }) + }); if(typeof props.loadJS !== 'undefined') { var scriptname; if(props.loadJS === true) { 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+=''; html+=''; html+=''; - html+'' + html+''; $.each(collumns,function(index,collumn){ html+=''; }); - html+'' + html+''; html+=''; html=''; return $(html); -} +}; ListView.prototype={ rows:{}, @@ -49,7 +49,7 @@ ListView.prototype={ var element=$(html); element.append($('')); 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 +}; diff --git a/core/js/setup.js b/core/js/setup.js index 23c705a0686..39fcf4a2715 100644 --- a/core/js/setup.js +++ b/core/js/setup.js @@ -1,11 +1,11 @@ -var dbtypes +var dbtypes; $(document).ready(function() { dbtypes={ sqlite:!!$('#hasSQLite').val(), mysql:!!$('#hasMySQL').val(), postgresql:!!$('#hasPostgreSQL').val(), oracle:!!$('#hasOracle').val(), - } + }; $('#selectDbType').buttonset(); $('#datadirContent').hide(250); diff --git a/core/js/share.js b/core/js/share.js index e97302b0d5a..b5e8b0e6613 100644 --- a/core/js/share.js +++ b/core/js/share.js @@ -137,7 +137,7 @@ OC.Share={ html += ''; html += '
'; html += ''; - html += '
' + html += ''; html += ''; } html += ''; -- cgit v1.2.3