Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
converse.js
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
converse.js
Commits
ff32866f
Commit
ff32866f
authored
Aug 31, 2014
by
JC Brand
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Mention live filter bugfix and add tests for it. updates #212
parent
37255a26
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
1 deletion
+15
-1
docs/CHANGES.rst
docs/CHANGES.rst
+1
-0
spec/controlbox.js
spec/controlbox.js
+14
-1
No files found.
docs/CHANGES.rst
View file @
ff32866f
...
...
@@ -5,6 +5,7 @@ Changelog
------------------
* Converse.js now responds to XEP-0030: Service Discovery requests. [jcbrand]
* #212 Bugfix. Groups weren't being show again after the live filter was cleared. [jcbrand]
* #215 (and also #75) XEP-0249: Direct MUC Invitations. [jcbrand]
* #216 Contacts tab empty when using xhr_user_search. [hcderaad and jcbrand]
...
...
spec/controlbox.js
View file @
ff32866f
...
...
@@ -179,7 +179,6 @@
runs
(
function
()
{
expect
(
$roster
.
find
(
'
dd:visible
'
).
length
).
toBe
(
5
);
expect
(
$roster
.
find
(
'
dt:visible
'
).
length
).
toBe
(
4
);
$filter
.
val
(
"
xxx
"
);
$filter
.
trigger
(
'
keydown
'
);
});
...
...
@@ -187,6 +186,13 @@
runs
(
function
()
{
expect
(
$roster
.
find
(
'
dd:visible
'
).
length
).
toBe
(
0
);
expect
(
$roster
.
find
(
'
dt:visible
'
).
length
).
toBe
(
0
);
$filter
.
val
(
""
);
// Check that contacts are shown again, when the filter string is cleared.
$filter
.
trigger
(
'
keydown
'
);
});
waits
(
350
);
// Needed, due to debounce
runs
(
function
()
{
expect
(
$roster
.
find
(
'
dd:visible
'
).
length
).
toBe
(
15
);
expect
(
$roster
.
find
(
'
dt:visible
'
).
length
).
toBe
(
5
);
});
converse
.
roster_groups
=
false
;
});
...
...
@@ -219,6 +225,13 @@
waits
(
350
);
// Needed, due to debounce
runs
(
function
()
{
expect
(
$roster
.
find
(
'
dt:visible
'
).
length
).
toBe
(
0
);
$filter
.
val
(
""
);
// Check that groups are shown again, when the filter string is cleared.
$filter
.
trigger
(
'
keydown
'
);
});
waits
(
350
);
// Needed, due to debounce
runs
(
function
()
{
expect
(
$roster
.
find
(
'
dd:visible
'
).
length
).
toBe
(
15
);
expect
(
$roster
.
find
(
'
dt:visible
'
).
length
).
toBe
(
5
);
});
converse
.
roster_groups
=
false
;
});
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment