minor cosmetic change: appropriate button label
[pithos] / src / gr / ebs / gss / GSS.gwt.xml
index 4263f0e..2d0c03c 100644 (file)
        <!-- <set-property name="user.agent" value="gecko" /> --> 
        <!-- Rebind the file upload dialog if Gears is installed -->
        <replace-with class="gr.ebs.gss.client.FileUploadGearsDialog">
-               <when-type-is class="gr.ebs.gss.client.FileUploadDialog"/>
-               <when-property-is name="gears.installed" value="true"/>
+               <all>
+                       <when-type-is class="gr.ebs.gss.client.FileUploadDialog"/>
+                       <when-property-is name="gears.installed" value="true"/>
+                       <none>
+                               <when-property-is name="user.agent" value="ie6"/>
+                               <when-property-is name="user.agent" value="ie8"/>
+                       </none>
+               </all>
+       </replace-with>   
+       <!-- Use a special file upload dialog if Gears is installed on IE -->
+       <replace-with class="gr.ebs.gss.client.FileUploadGearsIEDialog">
+               <all>
+                       <when-type-is class="gr.ebs.gss.client.FileUploadDialog"/>
+                       <when-property-is name="gears.installed" value="true"/>
+                       <any>
+                               <when-property-is name="user.agent" value="ie6"/>
+                               <when-property-is name="user.agent" value="ie8"/>
+                       </any>
+               </all>
        </replace-with>   
 </module>