Skip to content
This repository has been archived by the owner on Nov 3, 2021. It is now read-only.

Bug 1072759 - [Text Selection] text_selection should handle value-select... #24413

Merged
merged 1 commit into from
Sep 30, 2014
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion apps/system/js/text_selection_dialog.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
case 'activeappchanged':
this.close();
break;
case 'value-selector-showed':
case 'value-selector-shown':
this._ignoreSelectionChange = true;
break;
case 'value-selector-hidden':
Expand Down
2 changes: 1 addition & 1 deletion apps/system/test/unit/text_selection_dialog_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ suite('system/TextSelectionDialog', function() {
});

test('is shown', function() {
td.handleEvent({ type: 'value-selector-showed' });
td.handleEvent({ type: 'value-selector-shown' });
assert.isTrue(td._ignoreSelectionChange);

fakeTextSelectInAppEvent.detail = mockDetail;
Expand Down