<module>
-
- <!-- Inherit the core Web Toolkit stuff. -->
<inherits name='com.google.gwt.user.User' />
- <!-- Inherit the default GWT style sheet -->
- <!-- inherits name="com.google.gwt.user.theme.standard.Standard"/-->
+ <inherits name="com.google.gwt.user.theme.standard.Standard"/>
<inherits name="com.google.gwt.gears.Gears"/>
<inherits name='com.allen_sauer.gwt.dnd.gwt-dnd' />
<inherits name="com.google.gwt.http.HTTP"/>
<inherits name="com.google.gwt.json.JSON"/>
- <!-- Specify the app entry point class. -->
+ <inherits name='gwtquery.plugins.droppable.Droppable'/>
<entry-point class='gr.ebs.gss.client.GSS' />
<stylesheet src='gss.css' />
- <!-- <set-property name="user.agent" value="gecko" /> -->
+ <!--<set-property name="user.agent" value="gecko" /> -->
<!-- Rebind the file upload dialog if Gears is installed -->
<replace-with class="gr.ebs.gss.client.FileUploadGearsDialog">
<all>
<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>