1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-19 18:29:23 +00:00

Merge branch 'lj_msgreply'

This commit is contained in:
llj
2012-09-18 10:30:46 +08:00
3 changed files with 2 additions and 5 deletions

View File

@@ -12,6 +12,6 @@
</li> </li>
{% endfor %} {% endfor %}
</ul> </ul>
<textarea name="message" class="reply-input"></textarea> <input type="text" name="message" class="reply-input" />
<button class="submit">回复</button> <button class="submit">回复</button>
<p class="error hide">输入不能为空且应少于150个字符。</p> <p class="error hide">输入不能为空且应少于150个字符。</p>

View File

@@ -51,7 +51,7 @@ $('.reply').click(function() {
} }
if ($.trim(reply_cnt.html()) == '') { if ($.trim(reply_cnt.html()) == '') {
reply_bd.html('<ul class="reply-list"></ul><textarea name="message" class="reply-input"></textarea> <button class="submit">回复</button><p class="error hide">输入不能为空且应少于150个字符。</p>').attr('class', 'reply-bd'); reply_bd.html('<ul class="reply-list"></ul><input type="text" name="message" class="reply-input" /> <button class="submit">回复</button><p class="error hide">输入不能为空且应少于150个字符。</p>').attr('class', 'reply-bd');
afterBdShow(); afterBdShow();
} else { } else {
reply_bd.html('<img src="{{MEDIA_URL}}img/loading-icon.gif" alt="加载中..." />'); reply_bd.html('<img src="{{MEDIA_URL}}img/loading-icon.gif" alt="加载中..." />');

View File

@@ -1016,9 +1016,6 @@ ul.with-bg li {
.reply-input { .reply-input {
width:82%; width:82%;
padding:0 1px; padding:0 1px;
height:20px;
line-height:20px;
vertical-align:bottom;
} }
.reply-at { .reply-at {
font-size:12px; font-size:12px;