Skip to content

Commit

Permalink
MDL-42571 editpdf: Fix search comments
Browse files Browse the repository at this point in the history
They are also hidden instead of destroyed.
  • Loading branch information
David Monllao committed Nov 19, 2015
1 parent 78b2c65 commit c181efe
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2243,10 +2243,12 @@ Y.extend(COMMENTSEARCH, M.core.dialogue, {
filter_search_comments : function() {
var filternode,
commentslist,
filtertext;
filtertext,
dialogueid;

filternode = Y.one(SELECTOR.SEARCHFILTER);
commentslist = Y.one(SELECTOR.SEARCHCOMMENTSLIST);
dialogueid = this.get('id');
filternode = Y.one('#' + dialogueid + SELECTOR.SEARCHFILTER);
commentslist = Y.one('#' + dialogueid + SELECTOR.SEARCHCOMMENTSLIST);

filtertext = filternode.get('value');

Expand Down
Loading

0 comments on commit c181efe

Please sign in to comment.