mirror of https://github.com/zulip/zulip.git
Drafts: Click on a message will open it for edit.
This commit is contained in:
parent
802de53ede
commit
f0a9b7e4a1
|
@ -117,7 +117,7 @@ exports.restore_draft = function (draft_id) {
|
|||
|
||||
exports.setup_page = function (callback) {
|
||||
function setup_event_handlers() {
|
||||
$(".draft_controls .restore-draft").on("click", function (e) {
|
||||
$(".restore-draft").on("click", function (e) {
|
||||
e.stopPropagation();
|
||||
|
||||
var draft_row = $(this).closest(".draft-row");
|
||||
|
|
|
@ -34,7 +34,7 @@
|
|||
<i class="icon-vector-large icon-vector-trash delete-draft" data-toggle="tooltip" title="{{t 'Delete Draft' }}"></i>
|
||||
</div>
|
||||
</div>
|
||||
<div class="message_content">{{{content}}}</div>
|
||||
<div class="message_content restore-draft" data-toggle="tooltip" title="{{t 'Restore Draft' }}">{{{content}}}</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue