diff --git a/data/web/fragment.com/js/auction.js b/data/web/fragment.com/js/auction.js index a5cb43cd86..0fdf6e5dfc 100644 --- a/data/web/fragment.com/js/auction.js +++ b/data/web/fragment.com/js/auction.js @@ -1048,7 +1048,9 @@ var Assets = { username: username, auction: true }, function(result) { - if (result.confirm_message) { + if (result.error) { + return showAlert(result.error); + } else if (result.confirm_message) { showConfirm(result.confirm_message, function() { doPutToAuction(); }, result.confirm_button); @@ -1148,7 +1150,9 @@ var Assets = { username: username, auction: false }, function(result) { - if (result.confirm_message) { + if (result.error) { + return showAlert(result.error); + } else if (result.confirm_message) { showConfirm(result.confirm_message, function() { doSellUsername(); }, result.confirm_button); diff --git a/data/web/promote.telegram.org/css/promote.css b/data/web/promote.telegram.org/css/promote.css index 229d842b16..3338086830 100644 --- a/data/web/promote.telegram.org/css/promote.css +++ b/data/web/promote.telegram.org/css/promote.css @@ -2218,6 +2218,12 @@ a.pr-account-button-wrap:focus { .field-readonly .pr-form-control-wrap:after { display: none; } +.pr-form-control-wrap.has-locked .input, +.pr-form-control-wrap.has-locked input.form-control, +.pr-form-control-wrap.has-locked .select { + padding-right: 40px; + text-overflow: ellipsis; +} .pr-form-control-wrap.has-photo .pr-form-control, .pr-form-control-wrap.has-progress.field-loading .pr-form-control { padding-right: 48px;