added new hooks for rendering help messages in composer, removed markdown text from translation

This commit is contained in:
Julian Lam
2014-02-27 14:05:31 -05:00
parent 1a85d45567
commit 44ac7ec262
5 changed files with 17 additions and 4 deletions

View File

@@ -638,6 +638,13 @@ define(['taskbar'], function(taskbar) {
}
});
socket.emit('modules.composer.renderHelp', function(err, html) {
if (html && html.length > 0) {
postContainer.find('.help').html(html);
postContainer.find('[data-pane=".tab-help"]').parent().removeClass('hidden');
}
});
$(window).trigger('action:composer.loaded', {
post_uuid: post_uuid
});