fixed #1023; display close icon on diaspora alert faceboxes

This commit is contained in:
MrZYX 2011-04-24 15:40:30 +02:00
parent 512874a338
commit a09150e4e0
3 changed files with 5 additions and 3 deletions

View file

@ -80,7 +80,7 @@ var Stream = {
});
$(".new_status_message").bind('ajax:failure', function(data, html , xhr) {
json = $.parseJSON(html.response);
json = $.parseJSON(html.responseText);
if(json.errors.length != 0){
Diaspora.widgets.alert.alert(json.errors);
}else{

View file

@ -29,6 +29,6 @@ Diaspora.widgets.add("alert", function() {
$.facebox({
div: "#diaspora_alert"
});
}, 'diaspora_alert');
}
});
});

View file

@ -2378,6 +2378,8 @@ div.dislikes
#facebox
.close
:display none
.diaspora_alert~.close
:display block
#aspect_edit_controls
:margin