1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-10 08:05:46 +01:00

Minor cleanup.

This commit is contained in:
Kris Maglione
2008-10-01 13:57:34 +00:00
parent fa7a2f738c
commit 51c2ca313d
2 changed files with 3 additions and 7 deletions

View File

@@ -836,10 +836,8 @@ liberator.Editor = function () //{{{
textBox.style.backgroundColor = "#bbbbbb";
}
var newThread = Components.classes["@mozilla.org/thread-manager;1"]
.getService().newThread(0);
// TODO: save return value in v:shell_error
liberator.callFunctionInThread(newThread, liberator.io.run, [prog, args, true]);
liberator.callFunctionInThread(null, liberator.io.run, [prog, args, true]);
if (textBox)
textBox.removeAttribute("readonly");