diff --git a/src/main/java/org/gcube/portlets/user/shareupdates/client/view/SuperPosedTextArea.java b/src/main/java/org/gcube/portlets/user/shareupdates/client/view/SuperPosedTextArea.java
index fdadef5..d75d2c8 100644
--- a/src/main/java/org/gcube/portlets/user/shareupdates/client/view/SuperPosedTextArea.java
+++ b/src/main/java/org/gcube/portlets/user/shareupdates/client/view/SuperPosedTextArea.java
@@ -34,7 +34,7 @@ public class SuperPosedTextArea extends TextArea {
PickUsersDialog pickUserDlg;
public final static int ARROW_UP = 38;
public final static int ARROW_DOWN = 40;
-
+
private ArrayList mentionedUsers = new ArrayList();
/**
@@ -58,7 +58,7 @@ public class SuperPosedTextArea extends TextArea {
}
});
DOM.setElementAttribute(getElement(), "id", "postTextArea");
- bind();
+ bind();
}
/**
@@ -132,7 +132,7 @@ public class SuperPosedTextArea extends TextArea {
// re-inject the processed text into the div
DOM.getElementById("highlighter").setInnerHTML(text);
}
-
+
/**
* events binder
*/
@@ -143,19 +143,19 @@ public class SuperPosedTextArea extends TextArea {
String toAdd = event.getSelectedUser().getFullName();
mentionedUsers.add(toAdd);
-
+
String[] toSplit = getText().split("@"); //get the preceeding part
-
+
setText(toSplit[0]+toAdd);
Element highDiv = DOM.getElementById("highlighter");
-
+
String[] htmlToSplit = highDiv.getInnerHTML().split("@"); //get the preceeding part
String highLightedUser = ""+toAdd+"";
highDiv.setInnerHTML(htmlToSplit[0]+highLightedUser);
}
});
}
-
+
public ArrayList getMentionedUsers() {
ArrayList toReturn = new ArrayList();
for (String mentionedUser : mentionedUsers) {
diff --git a/src/main/webapp/ShareUpdates.css b/src/main/webapp/ShareUpdates.css
index 5ab2b29..25de03f 100644
--- a/src/main/webapp/ShareUpdates.css
+++ b/src/main/webapp/ShareUpdates.css
@@ -226,7 +226,7 @@ a.link:hover {
text-decoration: underline;
}
-.shareContainer {
+.tab-main-container {
width: 600px;
background-clip: border-box;
background-image: none;
diff --git a/src/main/webapp/ShareUpdates.html b/src/main/webapp/ShareUpdates.html
index 0a30930..50096dc 100644
--- a/src/main/webapp/ShareUpdates.html
+++ b/src/main/webapp/ShareUpdates.html
@@ -16,8 +16,8 @@
-
+
+
-
-
-
+
+
+
|