author | williamt <williamt> | 2007-01-05 10:10:55 (UTC) |
---|---|---|
committer | williamt <williamt> | 2007-01-05 10:10:55 (UTC) |
commit | d85adfb349b3c7a988bec21fcbad86f5f98c70de (patch) (unidiff) | |
tree | b0bff7d20e03d2e4ba4bfb3309059930006ab927 /src/chrome | |
parent | c4b3096e166a0a9a60fd27c8f2dc06e688f13172 (diff) | |
download | foxri-REL_1_1_2.zip foxri-REL_1_1_2.tar.gz foxri-REL_1_1_2.tar.bz2 |
* Updated for Firefox 2REL_1_1_2upstream/master
-rwxr-xr-x | src/chrome/content/foxri.xul | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/chrome/content/foxri.xul b/src/chrome/content/foxri.xul index dc1cc37..785cc0c 100755 --- a/src/chrome/content/foxri.xul +++ b/src/chrome/content/foxri.xul | |||
@@ -11,22 +11,18 @@ | |||
11 | 11 | ||
12 | <script> | 12 | <script> |
13 | function xriFix(event) | 13 | function xriFix(event) |
14 | { | 14 | { |
15 | var txt = gURLBar.value; | 15 | var txt = gURLBar.value; |
16 | if (/^(=|@|!)\S+/.test(txt)) { | 16 | if (/^(=|@|!)\S+/.test(txt)) { |
17 | gURLBar.value = "xri://" + txt; | 17 | gURLBar.value = "xri://" + txt; |
18 | } | 18 | } |
19 | } | 19 | } |
20 | </script> | 20 | </script> |
21 | 21 | ||
22 | 22 | ||
23 | <toolbaritem id="urlbar-container"> | 23 | <textbox id="urlbar" ontextentered="xriFix(); return handleURLBarCommand(param);" /> |
24 | <textbox id="urlbar" ontextentered="xriFix(); return handleURLBarCommand(param);" /> | ||
25 | </toolbaritem> | ||
26 | 24 | ||
27 | <toolbaritem id="go-container"> | 25 | <toolbarbutton id="go-button" oncommand="xriFix(); return handleURLBarCommand(event);" /> |
28 | <toolbarbutton id="go-button" oncommand="xriFix(); return handleURLBarCommand(event);" /> | ||
29 | </toolbaritem> | ||
30 | 26 | ||
31 | </overlay> | 27 | </overlay> |
32 | 28 | ||