Merge branch '0.8.x' of git@gitorious.org:+laconica-developers/laconica/dev into 0.8.x

This commit is contained in:
Evan Prodromou 2009-06-25 11:10:49 -07:00
commit 69f0613473
2 changed files with 12 additions and 2 deletions

View File

@ -233,6 +233,7 @@ $(document).ready(function(){
$("#form_notice").each(addAjaxHidden);
NoticeReply();
NoticeAttachments();
NoticeDataAttachSelected();
});
function NoticeReply() {
@ -310,3 +311,11 @@ function NoticeAttachments() {
}
);
}
function NoticeDataAttachSelected() {
$('#notice_data-attach').change(function() {
S = '<div id="notice_data-attach_selected" class="success">'+$(this).val()+'</div>';
NDAS = $('#notice_data-attach_selected');
(NDAS.length > 0) ? NDAS.replaceWith(S) : $('#form_notice').append(S);
});
}

View File

@ -510,10 +510,11 @@ margin-bottom:7px;
margin-left:18px;
float:left;
}
#form_notice .error {
#form_notice .error,
#form_notice .success {
float:left;
clear:both;
width:96.9%;
width:81.5%;
margin-bottom:0;
line-height:1.618;
}