aboutsummaryrefslogtreecommitdiff
path: root/chrome/js/redirector-ui.js
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/js/redirector-ui.js')
-rw-r--r--chrome/js/redirector-ui.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/js/redirector-ui.js b/chrome/js/redirector-ui.js
index 8deb20d..bd709cc 100644
--- a/chrome/js/redirector-ui.js
+++ b/chrome/js/redirector-ui.js
@@ -148,6 +148,7 @@ function bindRedirect(redirect) {
$('#redirect-to').val(redirect.redirectUrl);
$('#redirect-enabled').attr('checked', !redirect.disabled);
$('#unescape-matches').attr('checked', redirect.unescapeMatches);
+ $('#escape-matches').attr('checked', redirect.escapeMatches);
$('#regex-pattern').attr('checked', redirect.patternType == Redirect.REGEX);
$('#wildcard-pattern').attr('checked', redirect.patternType == Redirect.WILDCARD);
}
@@ -180,6 +181,7 @@ function controlsToRedirect(redirect) {
redirect.redirectUrl = $('#redirect-to').val();
redirect.disabled = !$('#redirect-enabled').attr('checked');
redirect.unescapeMatches = $('#unescape-matches').attr('checked');
+ redirect.escapeMatches = $('#escape-matches').attr('checked');
return true;
}