1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-24 23:59:47 +02:00

Refactor content linking code flow

Fixed EmberJS deprecation warnings by removing usage of observers.

Fixed edge case bug for repeated content link insertion modal clicks.
This commit is contained in:
Harvey Kandola 2019-02-28 15:11:46 +00:00
parent 3fd1d793a3
commit 9b06ddecb5
4 changed files with 36 additions and 15 deletions

View file

@ -46,7 +46,7 @@
<div class="content-linker-modal-container">
<div class="form-group">
<label>Search</label>
{{focus-input id="content-linker-search" type="input" class="form-control" value=keywords placeholder="keyword search" autocomplete="off"}}
{{focus-input id="content-linker-search" type="input" class="form-control" value=keywords placeholder="keyword search" autocomplete="off" key-up=(action "onSearch")}}
<small class="form-text text-muted">Document name, content, attachment name</small>
</div>
{{#unless hasMatches}}