mirror of
https://github.com/zulip/zulip.git
synced 2025-11-12 18:06:44 +00:00
Make make_loading_indicator take its optional text via an options argument
(imported from commit 935f9049c00183f52bad80d54520f81efceb3e49)
This commit is contained in:
@@ -131,7 +131,7 @@ $(function () {
|
||||
jQuery.each($('#bot_avatar_file_input')[0].files, function (i, file) {
|
||||
formData.append('file-'+i, file);
|
||||
});
|
||||
util.make_loading_indicator($('#create_bot_spinner'), 'Adding bot');
|
||||
util.make_loading_indicator($('#create_bot_spinner'), {text: 'Adding bot'});
|
||||
$('#create_bot_button').hide();
|
||||
$.ajax({
|
||||
url: '/json/create_bot',
|
||||
|
||||
Reference in New Issue
Block a user