mirror of https://github.com/zulip/zulip.git
parent
983deff5da
commit
7cbc9f40bf
|
@ -32,8 +32,8 @@ var upload_opts = upload.options({ mode: "compose" });
|
|||
assert(handler);
|
||||
};
|
||||
$("#compose-error-msg").html('');
|
||||
var test_html = '<div class="progress progress-striped active">' +
|
||||
'<div class="bar" id="compose-upload-bar" style="width: 00%;"></div>' +
|
||||
var test_html = '<div class="progress active">' +
|
||||
'<div class="bar" id="compose-upload-bar" style="width: 0"></div>' +
|
||||
'</div>';
|
||||
$("#compose-send-status").append = function (html) {
|
||||
assert.equal(html, test_html);
|
||||
|
|
|
@ -71,8 +71,8 @@ exports.options = function (config) {
|
|||
send_status.addClass("alert-info").show();
|
||||
send_status_close.one('click', compose.abort_xhr);
|
||||
error_msg.html($("<p>").text(i18n.t("Uploading…")));
|
||||
send_status.append('<div class="progress progress-striped active">' +
|
||||
'<div class="bar" id="' + upload_bar + '" style="width: 00%;"></div>' +
|
||||
send_status.append('<div class="progress active">' +
|
||||
'<div class="bar" id="' + upload_bar + '" style="width: 0"></div>' +
|
||||
'</div>');
|
||||
should_hide_upload_status = false;
|
||||
};
|
||||
|
|
|
@ -245,6 +245,11 @@ div[id^="message-edit-send-status"],
|
|||
display: none;
|
||||
}
|
||||
|
||||
#compose-send-status .progress {
|
||||
height: 10px;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
#nonexistent_stream_reply_error {
|
||||
padding: 8px 14px 8px 14px;
|
||||
margin-bottom: 8px;
|
||||
|
|
|
@ -44,7 +44,7 @@
|
|||
<div class="message_comp compose-content">
|
||||
<div class="alert" id="compose-send-status">
|
||||
<span class="compose-send-status-close">×</span>
|
||||
<span id="compose-error-msg"></span>
|
||||
<p id="compose-error-msg"></p>
|
||||
</div>
|
||||
<div id="compose_invite_users" class="alert home-error-bar"></div>
|
||||
<div id="compose-all-everyone" class="alert home-error-bar"></div>
|
||||
|
|
Loading…
Reference in New Issue