diff --git a/kallithea/public/js/base.js b/kallithea/public/js/base.js --- a/kallithea/public/js/base.js +++ b/kallithea/public/js/base.js @@ -393,7 +393,7 @@ var ajaxGET = function(url,success) { if (o.status != 0) { alert("Ajax GET error: " + o.statusText); }; - }, + } }; var request = YAHOO.util.Connect.asyncRequest('GET', sUrl, callback); @@ -409,7 +409,7 @@ var ajaxPOST = function(url,postData,suc success: success, failure: function (o) { alert("Ajax POST error: " + o.statusText); - }, + } }; var postData = _toQueryString(postData); var request = YAHOO.util.Connect.asyncRequest('POST', sUrl, callback, postData); @@ -989,7 +989,7 @@ var initCodeMirror = function(textarea_i mode: "null", lineNumbers: true, indentUnit: 4, - autofocus: true, + autofocus: true }); $('#reset').click(function(e){ window.location=resetUrl; @@ -1082,7 +1082,7 @@ var deleteNotification = function(url, n }, failure:function(o){ alert("deleteNotification failure"); - }, + } }; var postData = '_method=delete'; var sUrl = url.replace('__NOTIFICATION_ID__',notification_id); @@ -1100,7 +1100,7 @@ var readNotification = function(url, not }, failure:function(o){ alert("readNotification failure"); - }, + } }; var postData = '_method=put'; var sUrl = url.replace('__NOTIFICATION_ID__',notification_id); @@ -1282,7 +1282,7 @@ var _MembersAutoComplete = function (div memberDS: memberDS, ownerDS: ownerDS, membersAC: membersAC, - ownerAC: ownerAC, + ownerAC: ownerAC }; } @@ -1741,7 +1741,7 @@ function ajaxActionRevokePermission(url, }, failure: function (o) { alert(_TM['Failed to revoke permission'] + ": " + o.status); - }, + } }; query_params = { '_method': 'delete' @@ -2092,7 +2092,7 @@ var YUI_datatable = function(data, field myDataSource.responseType = YAHOO.util.DataSource.TYPE_JSON; myDataSource.responseSchema = { resultsList: "records", - fields: fields, + fields: fields }; myDataSource.doBeforeCallback = function(req, raw, res, cb) { // This is the filter function @@ -2121,7 +2121,7 @@ var YUI_datatable = function(data, field MSG_SORTDESC: _TM['MSG_SORTDESC'], MSG_EMPTY: _TM['MSG_EMPTY'], MSG_ERROR: _TM['MSG_ERROR'], - MSG_LOADING: _TM['MSG_LOADING'], + MSG_LOADING: _TM['MSG_LOADING'] }); myDataTable.subscribe('postRenderEvent',function(oArgs) { tooltip_activate(); diff --git a/kallithea/templates/admin/my_account/my_account_api_keys.html b/kallithea/templates/admin/my_account/my_account_api_keys.html --- a/kallithea/templates/admin/my_account/my_account_api_keys.html +++ b/kallithea/templates/admin/my_account/my_account_api_keys.html @@ -77,7 +77,7 @@ diff --git a/kallithea/templates/admin/my_account/my_account_repos.html b/kallithea/templates/admin/my_account/my_account_repos.html --- a/kallithea/templates/admin/my_account/my_account_repos.html +++ b/kallithea/templates/admin/my_account/my_account_repos.html @@ -18,7 +18,7 @@ function table_renderer(data){ {key:"name"}, {key:"last_changeset"}, {key:"last_rev_raw"}, - {key:"action"}, + {key:"action"} ] }; myDataSource.doBeforeCallback = function(req,raw,res,cb) { @@ -47,7 +47,7 @@ function table_renderer(data){ sortOptions: { sortFunction: nameSort }}, {key:"last_changeset",label:"${_('Tip')}",sortable:true, sortOptions: { sortFunction: revisionSort }}, - {key:"action",label:"${_('Action')}",sortable:false}, + {key:"action",label:"${_('Action')}",sortable:false} ]; var myDataTable = new YAHOO.widget.DataTable("repos_list_wrap", myColumnDefs, myDataSource,{ @@ -58,7 +58,7 @@ function table_renderer(data){ MSG_SORTDESC:"${_('Click to sort descending')}", MSG_EMPTY:"${_('No records found.')}", MSG_ERROR:"${_('Data error.')}", - MSG_LOADING:"${_('Loading...')}", + MSG_LOADING:"${_('Loading...')}" } ); myDataTable.subscribe('postRenderEvent',function(oArgs) { diff --git a/kallithea/templates/admin/my_account/my_account_watched.html b/kallithea/templates/admin/my_account/my_account_watched.html --- a/kallithea/templates/admin/my_account/my_account_watched.html +++ b/kallithea/templates/admin/my_account/my_account_watched.html @@ -18,7 +18,7 @@ function table_renderer(data){ {key:"name"}, {key:"last_changeset"}, {key:"last_rev_raw"}, - {key:"action"}, + {key:"action"} ] }; myDataSource.doBeforeCallback = function(req,raw,res,cb) { @@ -47,7 +47,7 @@ function table_renderer(data){ sortOptions: { sortFunction: nameSort }}, {key:"last_changeset",label:"${_('Tip')}",sortable:true, sortOptions: { sortFunction: revisionSort }}, - {key:"action",label:"${_('Action')}",sortable:false}, + {key:"action",label:"${_('Action')}",sortable:false} ]; var myDataTable = new YAHOO.widget.DataTable("repos_list_wrap", myColumnDefs, myDataSource,{ @@ -58,7 +58,7 @@ function table_renderer(data){ MSG_SORTDESC:"${_('Click to sort descending')}", MSG_EMPTY:"${_('No records found.')}", MSG_ERROR:"${_('Data error.')}", - MSG_LOADING:"${_('Loading...')}", + MSG_LOADING:"${_('Loading...')}" } ); myDataTable.subscribe('postRenderEvent',function(oArgs) { diff --git a/kallithea/templates/admin/repo_groups/repo_group_edit_advanced.html b/kallithea/templates/admin/repo_groups/repo_group_edit_advanced.html --- a/kallithea/templates/admin/repo_groups/repo_group_edit_advanced.html +++ b/kallithea/templates/admin/repo_groups/repo_group_edit_advanced.html @@ -7,7 +7,7 @@ (_('Total repositories'), c.repo_group.repositories_recursive_count, ''), (_('Children groups'), c.repo_group.children.count(), ''), (_('Created on'), h.fmt_date(c.repo_group.created_on), ''), - (_('Owner'), h.person(c.repo_group.user.username), ''), + (_('Owner'), h.person(c.repo_group.user.username), '') ] %> %for dt, dd, tt in elems: diff --git a/kallithea/templates/admin/repo_groups/repo_groups.html b/kallithea/templates/admin/repo_groups/repo_groups.html --- a/kallithea/templates/admin/repo_groups/repo_groups.html +++ b/kallithea/templates/admin/repo_groups/repo_groups.html @@ -43,15 +43,14 @@ {key: "desc"}, {key: "repos"}, {key: "owner"}, - {key: "action"}, - + {key: "action"} ]; var column_defs = [ {key:"group_name",label:"${_('Name')}",sortable:true, sortOptions: { sortFunction: nameSort }}, {key:"desc",label:"${_('Description')}",sortable:true}, {key:"repos",label:"${_('Number of toplevel repositories')}",sortable:true}, {key:"owner",label:"${_('Owner')}",sortable:true}, - {key:"action",label:"${_('Action')}",sortable:false}, + {key:"action",label:"${_('Action')}",sortable:false} ]; var counter = YUD.get('repo_group_count'); var sort_key = "group_name"; diff --git a/kallithea/templates/admin/repos/repo_add_base.html b/kallithea/templates/admin/repos/repo_add_base.html --- a/kallithea/templates/admin/repos/repo_add_base.html +++ b/kallithea/templates/admin/repos/repo_add_base.html @@ -117,10 +117,10 @@ }) $("#repo_type").select2({ - 'minimumResultsForSearch': -1, + 'minimumResultsForSearch': -1 }); $("#repo_landing_rev").select2({ - 'minimumResultsForSearch': -1, + 'minimumResultsForSearch': -1 }); $('#repo_name').focus(); }) diff --git a/kallithea/templates/admin/repos/repo_edit_advanced.html b/kallithea/templates/admin/repos/repo_edit_advanced.html --- a/kallithea/templates/admin/repos/repo_edit_advanced.html +++ b/kallithea/templates/admin/repos/repo_edit_advanced.html @@ -3,7 +3,7 @@
${h.select('id_fork_of','',c.repos_list,class_="medium")} - ${h.submit('set_as_fork_%s' % c.repo_info.repo_name,_('Set'),class_="btn btn-small",)} + ${h.submit('set_as_fork_%s' % c.repo_info.repo_name,_('Set'),class_="btn btn-small")}