[Pkg-mozext-commits] [nostalgy] 239/252: Protect call against error.
David Prévot
taffit at moszumanska.debian.org
Tue Jun 14 15:25:03 UTC 2016
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository nostalgy.
commit ddd333aac4fa0a4168b046c96e65f2e54a85140d
Author: alain.frisch <alain.frisch at 56b81dcf-5a2f-0410-9db0-014be2e416ff>
Date: Wed Jul 30 12:27:45 2014 +0000
Protect call against error.
---
content/folders.js | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/content/folders.js b/content/folders.js
index 138bd2d..e869a5b 100644
--- a/content/folders.js
+++ b/content/folders.js
@@ -181,7 +181,7 @@ function NostalgyGetAutoCompleteValuesFunction(box) {
/* For unknown reason, the popup is left closed (even though box.popupOpen = true)
* when the user does a new nostalgy completion after the previous one has been
- * cancelled with Escape. We this force the popup to be opened some time after
+ * cancelled with Escape. We thus force the popup to be opened some time after
* the completeion is done.
*/
if (box.popup.state == "closed")
@@ -223,7 +223,11 @@ function NostalgyFolderSelectionBox(box) {
if (nostalgy_completion_options.tab_shell_completion) {
box.shell_completion = true;
box.value = NostalgyCompleteUnique(box.value);
- box.controller.handleText();
+ try {
+ box.controller.handleText();
+ } catch (ex) {
+ NostalgyDebug("err:" + ex);
+ }
}
}
};
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/nostalgy.git
More information about the Pkg-mozext-commits
mailing list