Skip to content

Commit

Permalink
[#1788] Remove some trailing commas breaking script execution in IE7,…
Browse files Browse the repository at this point in the history
… which in turn made the dataset Edit page impossible to work with.
  • Loading branch information
zydio committed Feb 24, 2012
1 parent 9f8aef8 commit c102a46
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions ckan/public/scripts/application.js
Expand Up @@ -610,7 +610,7 @@ CKAN.View.DatasetEditForm = Backbone.View.extend({

this.addView.render();
this.resourceList.render();
},
}
});


Expand Down Expand Up @@ -728,7 +728,7 @@ CKAN.View.ResourceEditList = Backbone.View.extend({
resource.view_tr.remove();
delete resource.view_tr;
}
},
}
});


Expand Down Expand Up @@ -820,7 +820,7 @@ CKAN.View.ResourceAddLink = Backbone.View.extend({
},

events: {
'submit form': 'setResourceInfo',
'submit form': 'setResourceInfo'
},

setResourceInfo: function(e) {
Expand Down
2 changes: 1 addition & 1 deletion ckan/public/scripts/vendor/ckanjs/1.0.0/ckanjs.js
Expand Up @@ -728,7 +728,7 @@ CKAN.View = function($) {
render: function() {
var tmplData = {
domain: this.options.domain,
dataset: this.model.toTemplateJSON(),
dataset: this.model.toTemplateJSON()
};
$('.page-heading').html(tmplData.dataset.displaytitle);
$('#minornavigation').html($.tmpl(CKAN.Templates.minorNavigationDataset, tmplData));
Expand Down

0 comments on commit c102a46

Please sign in to comment.