forked from leftypol/leftypol
Allow posting from catalog.
Addresses #134. The catalog template has been modified to use the board array, which is expected by the post form template. Because the overboard is a "virtual board", we created a "fake" overboard array to supply necessary information to the modified template. Javascript was also added to hide form on first visit.
This commit is contained in:
parent
48650d8ddd
commit
1eb75f1cee
3 changed files with 41 additions and 16 deletions
|
@ -45,4 +45,9 @@ if (active_page == 'catalog') $(function(){
|
|||
$(this).css('width', 'auto');
|
||||
}
|
||||
});
|
||||
|
||||
$('#post-form-opener').on('click', function(e) {
|
||||
$('#post-form-container').css('display', 'unset');
|
||||
$('#post-form-opener').css('display', 'none');
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue