]> source.dussan.org Git - nextcloud-server.git/commitdiff
Add missing ; to js code
authorBart Visscher <bartv@thisnet.nl>
Wed, 5 Sep 2012 20:17:33 +0000 (22:17 +0200)
committerBart Visscher <bartv@thisnet.nl>
Wed, 5 Sep 2012 20:26:09 +0000 (22:26 +0200)
14 files changed:
apps/files/js/fileactions.js
apps/files/js/files.js
apps/files_encryption/js/settings.js
apps/files_external/js/dropbox.js
apps/files_external/js/settings.js
apps/files_versions/js/versions.js
core/js/config.js
core/js/js.js
core/js/listview.js
core/js/setup.js
core/js/share.js
settings/js/admin.js
settings/js/apps.js
settings/js/personal.js

index f4e7b7723f698436496fd6afc0977fef14c1f6c9..b7670fa22595cb2758e170a5ae6842d4fb1163f0 100644 (file)
@@ -143,7 +143,7 @@ var FileActions={
        getCurrentPermissions:function() {
                return FileActions.currentFile.parent().data('permissions');
        }
-}
+};
 
 $(document).ready(function(){
        if($('#allowZipDownload').val() == 1){
@@ -151,12 +151,12 @@ $(document).ready(function(){
        } else {
                var downloadScope = 'file';
        }
-       FileActions.register(downloadScope,'Download', OC.PERMISSION_READ, function(){return OC.imagePath('core','actions/download')},function(filename){
+       FileActions.register(downloadScope,'Download', OC.PERMISSION_READ, function(){return OC.imagePath('core','actions/download');},function(filename){
                window.location=OC.filePath('files', 'ajax', 'download.php') + encodeURIComponent('?files='+encodeURIComponent(filename)+'&dir='+encodeURIComponent($('#dir').val()));
        });
 });
 
-FileActions.register('all','Delete', OC.PERMISSION_DELETE, function(){return OC.imagePath('core','actions/delete')},function(filename){
+FileActions.register('all','Delete', OC.PERMISSION_DELETE, function(){return OC.imagePath('core','actions/delete');},function(filename){
        if(Files.cancelUpload(filename)) {
                if(filename.substr){
                        filename=[filename];
@@ -174,7 +174,7 @@ FileActions.register('all','Delete', OC.PERMISSION_DELETE, function(){return OC.
        $('.tipsy').remove();
 });
 
-FileActions.register('all','Rename', OC.PERMISSION_UPDATE, function(){return OC.imagePath('core','actions/rename')},function(filename){
+FileActions.register('all','Rename', OC.PERMISSION_UPDATE, function(){return OC.imagePath('core','actions/rename');},function(filename){
        FileList.rename(filename);
 });
 
index 3d347c3f564ccbb5d47f1e8def76d887441301f5..8229bfa24f1fc70f638d2f157ee8acaa4d7e6080 100644 (file)
@@ -26,7 +26,7 @@ Files={
                });
                procesSelection();
        }
-}
+};
 $(document).ready(function() {
        $('#fileList tr').each(function(){
                //little hack to set unescape filenames in attribute
index a160b9e0e182d4c1ba570b5df2ab1380353f5dfa..6fc70eba7f6af8c45592b2bd511b773d37755363 100644 (file)
@@ -20,5 +20,5 @@ $(document).ready(function(){
        $('#enable_encryption').change(function(){
                var checked=$('#enable_encryption').is(':checked');
                OC.AppConfig.setValue('files_encryption','enable_encryption',(checked)?'true':'false');
-       })
-})
\ No newline at end of file
+       });
+});
index 92194792f42743d3209f69bf0f3f442e2d51c087..dd3a1cb1858f4a566aa9079f55d69f1e8431d8aa 100644 (file)
@@ -10,7 +10,7 @@ $(document).ready(function() {
                        var app_secret = $(this).find('.configuration [data-parameter="app_secret"]').val();
                        var config = $(this).find('.configuration');
                        if (app_key != '' && app_secret != '') {
-                               var pos = window.location.search.indexOf('oauth_token') + 12
+                               var pos = window.location.search.indexOf('oauth_token') + 12;
                                var token = $(this).find('.configuration [data-parameter="token"]');
                                if (pos != -1 && window.location.search.substr(pos, $(token).val().length) == $(token).val()) {
                                        var token_secret = $(this).find('.configuration [data-parameter="token_secret"]');
@@ -73,7 +73,7 @@ $(document).ready(function() {
                                }
                        });
                } else {
-                       OC.dialogs.alert('Please provide a valid Dropbox app key and secret.', 'Error configuring Dropbox storage')
+                       OC.dialogs.alert('Please provide a valid Dropbox app key and secret.', 'Error configuring Dropbox storage');
                }
        });
 
index f3460070901a2fbf40c96e9eac814cc7d0c02487..89f346574e2d991e88e50247acd4bbc6fafc2320 100644 (file)
@@ -66,7 +66,7 @@ OC.MountConfig={
                        return true;
                }
        }
-}
+};
 
 $(document).ready(function() {
        $('.chzn-select').chosen();
@@ -179,4 +179,4 @@ $(document).ready(function() {
                }
        });
 
-});
\ No newline at end of file
+});
index a9cf6171e455726ee482a26e705f275156b94f21..1c8d083ea42631fca22f279d83f210ab3b97daaf 100644 (file)
@@ -11,7 +11,7 @@ $(document).ready(function() {
 $(document).ready(function(){
        if (typeof FileActions !== 'undefined') {
                // Add history button to files/index.php
-               FileActions.register('file','History', OC.PERMISSION_UPDATE, function(){return OC.imagePath('core','actions/history')},function(filename){
+               FileActions.register('file','History', OC.PERMISSION_UPDATE, function(){return OC.imagePath('core','actions/history');},function(filename){
 
                        if (scanFiles.scanning){return;}//workaround to prevent additional http request block scanning feedback
 
@@ -76,7 +76,7 @@ function createVersionsDropdown(filename, files) {
                        $('#found_versions').change(function(){
                                var revision=parseInt($(this).val());
                                revertFile(files,revision);
-                       })
+                       });
                }
        });
 
index 11168f1c483f6e97fd4c503975828b579ac53aa3..f7a29276f7dc1e6eb3f8061ef32ece33121affbe 100644 (file)
@@ -51,5 +51,5 @@ OC.AppConfig={
        deleteApp:function(app){
                OC.AppConfig.postCall('deleteApp',{app:app});
        },
-}
+};
 //TODO OC.Preferences
index 8b9ecd38dc20e875fc44695b0da2d3fa8b56cd39..1bd650bb6b87e92e928fb597eb050dddad07d3b4 100644 (file)
@@ -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) {
index e3e5ebdab8f9635d0310838ea25303e5adb95e9f..3a713a6222cfb6e031c021d1da63c5c2b4704c4a 100644 (file)
@@ -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
+};
index 23c705a068699d5241eccd6c397742dddb207195..39fcf4a2715cfa6ac03990d3265c9d0fb7a1f5dc 100644 (file)
@@ -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);
index e97302b0d5a0d7754b911e1d0f307e398f4c5905..b5e8b0e66130dd8895f67540c827fc84b5c03566 100644 (file)
@@ -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>';
index 23f445b708f86252bf7abe6e823d2bde634710b8..95b7a503c27dfe42840c3def4f30fd0847d862bf 100644 (file)
@@ -26,8 +26,8 @@ $(document).ready(function(){
                                var value = 'no';
                        }
                } else {
-                       var value = $(this).val()
+                       var value = $(this).val();
                }
                OC.AppConfig.setValue('core', $(this).attr('name'), value);
        });
-});
\ No newline at end of file
+});
index f9612482373f2f50ac028713c01fd49708c4ceaa..bb9312327630e7e8b9b86261f4910bc2864f9789 100644 (file)
@@ -96,7 +96,7 @@ OC.Settings.Apps = OC.Settings.Apps || {
                }
                return app;
        }
-}
+};
 
 $(document).ready(function(){
        $('#leftcontent li').each(function(index,li){
@@ -106,7 +106,7 @@ $(document).ready(function(){
        });
        $('#leftcontent li').keydown(function(event) {
                if (event.which == 13 || event.which == 32) {
-                       $(event.target).click()
+                       $(event.target).click();
                }
                return false;
        });
index 77d103c53b676033b0bd5cf18b92444b9b738d19..a866e321ad63bd7f361aacb92fd651f55a4dcea4 100644 (file)
@@ -83,4 +83,4 @@ OC.msg={
                        $(selector).html( data.data.message ).addClass('error');
                }
        }
-}
+};