l10n typos & CSS fixes
This commit is contained in:
@@ -221,15 +221,18 @@ function initProject(sProjectCodeName){
|
||||
}
|
||||
|
||||
function initPosts() {
|
||||
//Add post form
|
||||
var asPoster = {
|
||||
type: 'poster',
|
||||
formatted_time: '',
|
||||
relative_time: oSpot.lang('post_new_message')
|
||||
};
|
||||
getPost(asPoster).appendTo($('#poster'));
|
||||
$('#poster').append(getPost(asPoster));
|
||||
|
||||
//Auto-adjust text area height
|
||||
autosize($('#post'));
|
||||
|
||||
//Add post Event handling
|
||||
$('#submit').click(function(){
|
||||
if($('#poster').checkForm())
|
||||
{
|
||||
@@ -641,7 +644,7 @@ function updateFeed(bFirstChunk, bDiscrete) {
|
||||
|
||||
self.tmp('updatable', true);
|
||||
|
||||
if(bFirstChunk && !isMobile() && !$.isEmptyObject(asData)) toggleFeedPanel(true, 'none');
|
||||
if(bFirstChunk && !isMobile() && !$.isEmptyObject(asData) && !bDiscrete) toggleFeedPanel(true, 'none');
|
||||
}, {
|
||||
'project_id': self.vars(['project', 'id']),
|
||||
'chunk': self.tmp('news_chunk')
|
||||
|
||||
Reference in New Issue
Block a user