changed to wrapper alert functions

This commit is contained in:
Baris Soner Usakli
2013-07-30 18:34:51 -04:00
parent 3f6f4e347d
commit f4fdabd3ca
3 changed files with 7 additions and 42 deletions

View File

@@ -87,12 +87,7 @@ $(document).ready(function() {
socket.emit('api:user.changePicture', userData, function(success) {
if(!success) {
app.alert({
title: 'Error',
message: 'There was an error changing picture!',
type: 'error',
timeout: 2000
});
app.alertError('There was an error changing picture!');
}
});
}