Adds a tooltip for the submit / save button in comments.
Towards #7281 Also hiding the menu before triggering click action. Signed-off-by: Abijeet <abijeetpatro@gmail.com>
This commit is contained in:
parent
6d2716dceb
commit
01c5a31a4a
|
@ -63,9 +63,9 @@
|
|||
$target = $target.closest('.menuitem');
|
||||
}
|
||||
|
||||
this.trigger('select:menu-item-clicked', event, $target.data('action'));
|
||||
|
||||
OC.hideMenus();
|
||||
|
||||
this.trigger('select:menu-item-clicked', event, $target.data('action'));
|
||||
},
|
||||
|
||||
/**
|
||||
|
|
|
@ -33,7 +33,7 @@
|
|||
' </div>' +
|
||||
' <form class="newCommentForm">' +
|
||||
' <div contentEditable="true" class="message" data-placeholder="{{newMessagePlaceholder}}">{{message}}</div>' +
|
||||
' <input class="submit icon-confirm" type="submit" value="" />' +
|
||||
' <input class="submit icon-confirm has-tooltip" type="submit" value="" title="{{submitText}}"/>' +
|
||||
' <div class="submitLoading icon-loading-small hidden"></div>'+
|
||||
' </form>' +
|
||||
'</{{tag}}>';
|
||||
|
|
Loading…
Reference in New Issue