Only bind submit to the notice created by Realtime
Conflicts: plugins/Realtime/realtimeupdate.js
This commit is contained in:
parent
bc841aabd7
commit
9b1d62a9ec
@ -87,6 +87,8 @@ RealtimeUpdate = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
var noticeItem = RealtimeUpdate.makeNoticeItem(data);
|
var noticeItem = RealtimeUpdate.makeNoticeItem(data);
|
||||||
|
var noticeItemID = $(noticeItem).attr('id');
|
||||||
|
|
||||||
$("#notices_primary .notices").prepend(noticeItem);
|
$("#notices_primary .notices").prepend(noticeItem);
|
||||||
$("#notices_primary .notice:first").css({display:"none"});
|
$("#notices_primary .notice:first").css({display:"none"});
|
||||||
$("#notices_primary .notice:first").fadeIn(1000);
|
$("#notices_primary .notice:first").fadeIn(1000);
|
||||||
|
Loading…
Reference in New Issue
Block a user