* Filters/FilterTiff.cs: Compilation fix for 1.1.14
[beagle.git] / mozilla-extension / content / beagleAddDomainDialog.xul
blob4f639a3206023dd9401aa35d12a75ca2c28ea37d
1 <?xml version="1.0"?>
3 <!DOCTYPE overlay SYSTEM "chrome://beagle/locale/beagle.dtd">
5 <?xml-stylesheet href="chrome://global/skin/global.css" type="text/css"?>
7 <dialog id="beagle.addDomainDialog"
8 buttons="accept,cancel"
9 buttonlabelaccept="Add Domain"
10 title="Enter Domain to Add"
11 ondialogaccept="beaglePrefsAddFilterClicked();"
12 xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
13 <groupbox>
15 <caption label="Enter domain:" />
16 <vbox>
17 <textbox id="beagle.filterToAdd" />
18 </vbox>
20 </groupbox>
22 <script>
24 function beaglePrefsAddFilterClicked() {
25 // Add value from entry box into listbox from beaglePrefs window (the calling window)
26 var filter = document.getElementById('beagle.filterToAdd');
27 var listbox = window.opener.document.getElementById('beagle.security.filters');
28 if (filter.value != ''){
29 listbox.appendItem(filter.value, filter.value);
33 </script>
35 </dialog>