| Index: chrome/common/extensions/docs/examples/extensions/gmail/options.js
|
| diff --git a/chrome/common/extensions/docs/examples/extensions/gmail/options.js b/chrome/common/extensions/docs/examples/extensions/gmail/options.js
|
| index 553f3e2a69b84ccaf8ff5c078273c6fc19b0d1d2..d0b21a71572b2dbab932b6e5f3ca09560db15bc5 100644
|
| --- a/chrome/common/extensions/docs/examples/extensions/gmail/options.js
|
| +++ b/chrome/common/extensions/docs/examples/extensions/gmail/options.js
|
| @@ -24,7 +24,8 @@ function getBackgroundPage(callback) {
|
| }
|
|
|
| function save() {
|
| - localStorage.customDomain = customDomainsTextbox.value;
|
| + localStorage.customDomain =
|
| + customDomainsTextbox.value.replace(/^\/?(.*?)\/?$/, '$1');
|
| markClean();
|
| getBackgroundPage(function(backgroundPage) {
|
| backgroundPage.startRequest({
|
|
|