Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

REPL: function to toggle prefs, called from overlay, was missing.

darcs-hash:20071207055837-8cc29-f8b82ab0699ec3983a34ef9afd821a560e07b663.gz
  • Loading branch information...
commit e7e305c2d0d16140c868c54a69e4da257b6756fa 1 parent d8a42ef
@bard bard authored
Showing with 4 additions and 0 deletions.
  1. +4 −0 chrome/content/mozrepl/overlay_impl.js
View
4 chrome/content/mozrepl/overlay_impl.js
@@ -54,6 +54,10 @@ function initOverlay() {
});
}
+function togglePref(prefName) {
+ pref.setBoolPref(prefName, !pref.getBoolPref(prefName));
+}
+
function toggleServer(sourceCommand) {
var port = pref.getIntPref('port');

0 comments on commit e7e305c

Please sign in to comment.
Something went wrong with that request. Please try again.