White space.

This commit is contained in:
Thomas Tanghus 2012-07-21 14:26:26 +02:00
parent 11aa571751
commit 00de757169
1 changed files with 37 additions and 37 deletions

View File

@ -1200,7 +1200,7 @@ Contacts={
$(this).insertAfter($('#phototools')).fadeIn(); $(this).insertAfter($('#phototools')).fadeIn();
}).error(function () { }).error(function () {
// notify the user that the image could not be loaded // notify the user that the image could not be loaded
$(t('contacts','something went wrong.')).insertAfter($('#phototools')); Contacts.UI.notify({message:t('contacts','Error loading profile picture.')});
}).attr('src', OC.linkTo('contacts', 'photo.php')+'?id='+self.id+refreshstr); }).attr('src', OC.linkTo('contacts', 'photo.php')+'?id='+self.id+refreshstr);
$.getJSON(OC.filePath('contacts', 'ajax', 'loadphoto.php'),{'id':this.id, 'refresh': refresh},function(jsondata){ $.getJSON(OC.filePath('contacts', 'ajax', 'loadphoto.php'),{'id':this.id, 'refresh': refresh},function(jsondata){