Skip to content

Commit

Permalink
Fix save failed message
Browse files Browse the repository at this point in the history
  • Loading branch information
guerler committed Aug 25, 2016
1 parent 37c1e31 commit 48ff079
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -40,7 +40,7 @@ define( [ 'utils/utils', 'mvc/ui/ui-modal', 'plugin/components/model', 'mvc/visu
this.vis.get( 'config' ).chart_dict = chart_dict;
this.vis.save()
.fail(function( xhr, status, message ) {
this.modal.show( { title: 'Saving failed.', body: 'An attempt to save this chart to the server failed. Please try again and contact the administrator.', buttons: { 'Close': function() { self.modal.hide() } } } );
self.modal.show( { title: 'Saving failed.', body: 'An attempt to save this chart to the server failed. Please try again and contact the administrator.', buttons: { 'Close': function() { self.modal.hide() } } } );
})
.then( function( response ) {
if ( response && response.id ) {
Expand Down

0 comments on commit 48ff079

Please sign in to comment.