File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -292,8 +292,8 @@ $(document).ready(function () {
292292 msg = data . jqXHR . responseJSON . data . message ;
293293 }
294294 avatarResponseHandler ( {
295- data : {
296- message : t ( 'settings' , 'An error occurred: {message}' , { message : msg } )
295+ data : {
296+ message : msg
297297 }
298298 } ) ;
299299 }
@@ -310,7 +310,7 @@ $(document).ready(function () {
310310 url : OC . generateUrl ( '/avatar/' ) ,
311311 data : { path : path }
312312 } ) . done ( avatarResponseHandler )
313- . fail ( function ( jqXHR , status ) {
313+ . fail ( function ( jqXHR ) {
314314 var msg = jqXHR . statusText + ' (' + jqXHR . status + ')' ;
315315 if ( ! _ . isUndefined ( jqXHR . responseJSON ) &&
316316 ! _ . isUndefined ( jqXHR . responseJSON . data ) &&
@@ -320,7 +320,7 @@ $(document).ready(function () {
320320 }
321321 avatarResponseHandler ( {
322322 data : {
323- message : t ( 'settings' , 'An error occurred: {message}' , { message : msg } )
323+ message : msg
324324 }
325325 } ) ;
326326 } ) ;
You can’t perform that action at this time.
0 commit comments