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 | |
parent | 9f1c76beef44fb841e6a4137c409ccb941c9236b (diff) | |
download | nextcloud-server-9329af921d6d9bf7861fe9f996562f17beecf6a2.tar.gz nextcloud-server-9329af921d6d9bf7861fe9f996562f17beecf6a2.zip |
Add missing ; to js code
Diffstat (limited to 'core')
-rw-r--r-- | core/js/config.js | 2 | ||||
-rw-r--r-- | core/js/js.js | 2 | ||||
-rw-r--r-- | core/js/listview.js | 10 | ||||
-rw-r--r-- | core/js/setup.js | 4 | ||||
-rw-r--r-- | core/js/share.js | 2 |
5 files changed, 10 insertions, 10 deletions
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('<span class="arrow '+arrowclass+'"></span><h2>'+t('core', 'Settings')+'</h2><a class="close svg"></a>').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+='<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 +}; 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 += '<input id="linkText" type="text" readonly="readonly" />'; html += '<div id="linkPass">'; html += '<input id="linkPassText" type="password" placeholder="Password" />'; - html += '</div>' + html += '</div>'; html += '</div>'; } html += '</div>'; |