Browse Source

Merge pull request #222 from slr/tasty-fix-retwist-reply

added postboard updating after retwist, fixed issues of retwist-reply...
master
miguelfreitas 10 years ago
parent
commit
1438d19571
  1. 24
      css/style.css
  2. 1
      js/twister_actions.js
  3. 43
      theme_calm/css/style.css

24
css/style.css

@ -1330,6 +1330,14 @@ ol.toptrends-list { @@ -1330,6 +1330,14 @@ ol.toptrends-list {
/*************************************
****************** DIRECT MESSAGES MODAL
**************************************/
.directMessages .modal-wrapper
{
overflow-y: auto;
}
.directMessages .modal-content
{
height: auto;
}
.directMessages .modal-buttons
{
display: none;
@ -1582,20 +1590,29 @@ ol.toptrends-list { @@ -1582,20 +1590,29 @@ ol.toptrends-list {
****************** RETWIST POSTS PROMPT
**************************************/
.reTwist
{
margin-top: -100px;
}
.reTwist .post-expand,
.reTwist .post-interactions
{
display: none;
}
.reTwist .post {
margin: 10px;
margin: 5px;
padding: 5px;
min-height: 68px;
}
/*************************************
****************** REPLY POSTS PROMPT
**************************************/
.reply
{
margin-top: -140px;
}
.reply .modal-buttons
{
display: none;
@ -1615,6 +1632,11 @@ ol.toptrends-list { @@ -1615,6 +1632,11 @@ ol.toptrends-list {
width: 580px;
}
.reply .post-area-extras
{
margin-right: 10px;
}
.reply .post {
margin: 10px;
padding: 5px;

1
js/twister_actions.js

@ -256,6 +256,7 @@ function newRtMsg($postOrig) { @@ -256,6 +256,7 @@ function newRtMsg($postOrig) {
function(arg, ret) { incLastPostId(); }, null,
function(arg, ret) { var msg = ("message" in ret) ? ret.message : ret;
alert(polyglot.t("ajax_error", { error: msg })); }, null);
setTimeout('requestTimelineUpdate("latest",postsPerRefresh,followingUsers,promotedPostsOnly)', 1000);
} else {
alert(polyglot.t("Internal error: lastPostId unknown (following yourself may fix!)"));
}

43
theme_calm/css/style.css

@ -1772,25 +1772,31 @@ textarea.splited-post { @@ -1772,25 +1772,31 @@ textarea.splited-post {
padding: 10px;
}
/*************************************
****************** RETWIST POSTS MODAL
****************** RETWIST POSTS PROMPT
**************************************/
.reTwist .modal-wrapper
.reTwist
{
width: 520px;
margin: -100px 0 0 -260px;
margin-top: -100px;
}
.reTwist .post-expand,
.reTwist .post-interactions
{
display: none;
}
.reTwist .post {
margin: 5px;
padding: 5px;
min-height: 68px;
}
/*************************************
****************** REPLY POSTS MODAL
****************** REPLY POSTS PROMPT
**************************************/
.reply .modal-wrapper
.reply
{
width: 520px;
margin: -100px 0 0 -260px;
margin-top: -140px;
}
.reply .modal-buttons
{
@ -1801,6 +1807,27 @@ textarea.splited-post { @@ -1801,6 +1807,27 @@ textarea.splited-post {
{
display: none;
}
.reply .textcomplete-wrapper{
padding-top: 10px;
}
.reply .textcomplete-wrapper textarea{
margin: 10px;
width: 580px;
}
.reply .post-area-extras
{
margin-right: 10px;
}
.reply .post {
margin: 10px;
padding: 5px;
min-height: 68px;
}
/*************************************
****************** DIRECT MESSAGES MODAL
**************************************/

Loading…
Cancel
Save