Permalink
Browse files

[NEXUS-5360] jslint bug, escaped apostrophes are no good

  • Loading branch information...
1 parent 0cfbe13 commit c4068cd5fb28fe6dd4586ed58f8de614db6a3f72 @nabcos nabcos committed with cstamas Nov 16, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 nexus/nexus-webapp/src/main/webapp/js/nexus/repository/AbstractRepoPanel.js
@@ -183,7 +183,7 @@ Ext.extend(Sonatype.repoServer.AbstractRepoPanel, Ext.Panel, {
Ext.Ajax.request({
url : url,
- failure : this.repoActionAjaxFailureHandlerFactory('The server did not clear the repository\'s cache.'),
+ failure : this.repoActionAjaxFailureHandlerFactory("The server did not clear the repository's cache."),
scope : this,
method : 'DELETE'
});
@@ -374,7 +374,7 @@ Ext.extend(Sonatype.repoServer.AbstractRepoPanel, Ext.Panel, {
options.contentNode.parentNode.removeChild(options.contentNode);
},
failure : function(response, options) {
- Sonatype.MessageBox.alert('Error', response.status === 401 ? 'You don\'t have permission to delete artifacts in this repository' : 'The server did not delete the file/folder from the repository');
+ Sonatype.MessageBox.alert('Error', response.status === 401 ? "You don't have permission to delete artifacts in this repository" : "The server did not delete the file/folder from the repository");
},
scope : this,
contentNode : node,

0 comments on commit c4068cd

Please sign in to comment.