downgraded to GWT 2.6.1 to fix Bug #375

git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/portlets/user/news-feed@117647 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Massimiliano Assante 2015-08-04 09:29:43 +00:00
parent fd90283182
commit b20f00018f
4 changed files with 5 additions and 12 deletions

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<classpath> <classpath>
<classpathentry kind="src" output="target/news-feed-1.10.0-SNAPSHOT/WEB-INF/classes" path="src/main/java"> <classpathentry kind="src" output="target/news-feed-1.10.1-SNAPSHOT/WEB-INF/classes" path="src/main/java">
<attributes> <attributes>
<attribute name="optional" value="true"/> <attribute name="optional" value="true"/>
<attribute name="maven.pomderived" value="true"/> <attribute name="maven.pomderived" value="true"/>
@ -31,5 +31,5 @@
<attribute name="maven.pomderived" value="true"/> <attribute name="maven.pomderived" value="true"/>
</attributes> </attributes>
</classpathentry> </classpathentry>
<classpathentry kind="output" path="target/news-feed-1.10.0-SNAPSHOT/WEB-INF/classes"/> <classpathentry kind="output" path="target/news-feed-1.10.1-SNAPSHOT/WEB-INF/classes"/>
</classpath> </classpath>

View File

@ -13,7 +13,7 @@
<groupId>org.gcube.portlets.user</groupId> <groupId>org.gcube.portlets.user</groupId>
<artifactId>news-feed</artifactId> <artifactId>news-feed</artifactId>
<packaging>war</packaging> <packaging>war</packaging>
<version>1.10.0-SNAPSHOT</version> <version>1.10.1-SNAPSHOT</version>
<name>gCube News Feed Portlet</name> <name>gCube News Feed Portlet</name>
<description> <description>
@ -26,9 +26,8 @@
</scm> </scm>
<properties> <properties>
<!-- Convenience property to set the GWT version --> <!-- Convenience property to set the GWT version -->
<gwtVersion>2.7.0</gwtVersion> <gwtVersion>2.6.1</gwtVersion>
<distroDirectory>distro</distroDirectory> <distroDirectory>distro</distroDirectory>
<!-- GWT needs at least java 1.6 -->
<maven.compiler.source>1.7</maven.compiler.source> <maven.compiler.source>1.7</maven.compiler.source>
<maven.compiler.target>1.7</maven.compiler.target> <maven.compiler.target>1.7</maven.compiler.target>
<webappDirectory>${project.build.directory}/${project.build.finalName}</webappDirectory> <webappDirectory>${project.build.directory}/${project.build.finalName}</webappDirectory>

View File

@ -1020,7 +1020,7 @@ public class NewsFeedPanel extends Composite {
} }
private void doDeleteFeed(final TweetTemplate toDelete) { private void doDeleteFeed(final TweetTemplate toDelete) {
if (Window.confirm("Are you sure you want to delete this feed?")) { if (Window.confirm("Are you sure you want to delete this post?")) {
newsService.deleteFeed(toDelete.getFeedKey(), new AsyncCallback<Boolean>() { newsService.deleteFeed(toDelete.getFeedKey(), new AsyncCallback<Boolean>() {
@Override @Override

View File

@ -257,12 +257,6 @@ public class TweetTemplate extends Composite {
public TweetTemplate(UserInfo myUserInfo, EnhancedFeed feed, HandlerManager eventBus, boolean hidden) { public TweetTemplate(UserInfo myUserInfo, EnhancedFeed feed, HandlerManager eventBus, boolean hidden) {
this(false, false, myUserInfo, feed, eventBus); this(false, false, myUserInfo, feed, eventBus);
contentArea.getElement().getParentElement().getParentElement().setClassName("div-table-col content hidden"); contentArea.getElement().getParentElement().getParentElement().setClassName("div-table-col content hidden");
closeImage.addClickHandler(new ClickHandler() {
@Override
public void onClick(ClickEvent event) {
Window.alert("Ops! a tiny error occurred! Please refresh the page and try delete this feed again");
}
});
} }
@UiHandler("contentArea") @UiHandler("contentArea")